pub enum SendRefusal {
Full,
Unkeyed,
}Expand description
Why a send was refused BEFORE it reached the backend.
Variants§
Full
The pending table already holds N requests.
Unkeyed
A request the backend sent WITHOUT an id is still pending, so a second one could not be told apart from it. Backends that cannot supply ids keep one request in flight per client.
Trait Implementations§
Source§impl Clone for SendRefusal
impl Clone for SendRefusal
Source§fn clone(&self) -> SendRefusal
fn clone(&self) -> SendRefusal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SendRefusal
Source§impl Debug for SendRefusal
impl Debug for SendRefusal
impl Eq for SendRefusal
Source§impl PartialEq for SendRefusal
impl PartialEq for SendRefusal
impl StructuralPartialEq for SendRefusal
Auto Trait Implementations§
impl Freeze for SendRefusal
impl RefUnwindSafe for SendRefusal
impl Send for SendRefusal
impl Sync for SendRefusal
impl Unpin for SendRefusal
impl UnsafeUnpin for SendRefusal
impl UnwindSafe for SendRefusal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more