pub enum CloseWrite {
Flushed,
Residue,
NotQueued,
TransportFailed,
NoStream,
}Expand description
How a reason-bearing close’s write ended, as the connection observed it. None of these is a claim the peer received it.
Variants§
Flushed
The frame was written to the socket in full.
Residue
Part of the outbound queue was still unwritten when the close ended.
NotQueued
The frame could not be queued (outbound full or encode refused).
TransportFailed
The socket write failed.
NoStream
The connection had no stream left to write to.
Trait Implementations§
Source§impl Clone for CloseWrite
impl Clone for CloseWrite
impl Copy for CloseWrite
Source§impl Debug for CloseWrite
impl Debug for CloseWrite
impl Eq for CloseWrite
Source§impl PartialEq for CloseWrite
impl PartialEq for CloseWrite
impl StructuralPartialEq for CloseWrite
Auto Trait Implementations§
impl Freeze for CloseWrite
impl RefUnwindSafe for CloseWrite
impl Send for CloseWrite
impl Sync for CloseWrite
impl Unpin for CloseWrite
impl UnsafeUnpin for CloseWrite
impl UnwindSafe for CloseWrite
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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.