pub enum Overrun {
Credit,
Sequence {
expected: u64,
},
Empty,
}Expand description
What the transport found wrong with a frame when it arrived. It holds
nothing past the first one, so the frame says so and goes through the
same admission as any other, whenever that comes: DuplexCall::admit
refuses it, whatever the credit has become since.
Variants§
Credit
More items than the window holds were outstanding: past credit.
Sequence
Out of sequence.
Empty
A frame of no items: a broken client (invalid_input).
Trait Implementations§
impl Copy for Overrun
impl Eq for Overrun
impl StructuralPartialEq for Overrun
Auto Trait Implementations§
impl Freeze for Overrun
impl RefUnwindSafe for Overrun
impl Send for Overrun
impl Sync for Overrun
impl Unpin for Overrun
impl UnsafeUnpin for Overrun
impl UnwindSafe for Overrun
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.