pub enum PushCloseCause {
OwnerClose,
PeerClose,
ReaderFailure {
error: SdkError,
},
}Expand description
Typed provenance for a closed push receiver.
Variants§
OwnerClose
The owning client closed or dropped the connection.
PeerClose
The peer sent EOF after a complete frame boundary.
ReaderFailure
The reader failed; the original failure is retained.
Trait Implementations§
Source§impl Clone for PushCloseCause
impl Clone for PushCloseCause
Source§impl Debug for PushCloseCause
impl Debug for PushCloseCause
impl Eq for PushCloseCause
Source§impl PartialEq for PushCloseCause
impl PartialEq for PushCloseCause
impl StructuralPartialEq for PushCloseCause
Auto Trait Implementations§
impl Freeze for PushCloseCause
impl RefUnwindSafe for PushCloseCause
impl Send for PushCloseCause
impl Sync for PushCloseCause
impl Unpin for PushCloseCause
impl UnsafeUnpin for PushCloseCause
impl UnwindSafe for PushCloseCause
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.