pub enum DiedCause {
ConnectionLost,
ProcessKilled,
ProtocolError,
UncleanServerRestart {
prior_server_incarnation: u64,
},
}Expand description
Causes valid only for a Died lifecycle record.
Variants§
ConnectionLost
Transport connection was lost.
ProcessKilled
Participant process was killed.
ProtocolError
Participant protocol error.
UncleanServerRestart
Binding was recovered after an unclean restart.
Implementations§
Source§impl DiedCause
impl DiedCause
Sourcepub const fn close_cause(self) -> CloseCause
pub const fn close_cause(self) -> CloseCause
Converts to the shared close-cause registry without permitting Detached-only causes.
Trait Implementations§
impl Copy for DiedCause
impl Eq for DiedCause
impl StructuralPartialEq for DiedCause
Auto Trait Implementations§
impl Freeze for DiedCause
impl RefUnwindSafe for DiedCause
impl Send for DiedCause
impl Sync for DiedCause
impl Unpin for DiedCause
impl UnsafeUnpin for DiedCause
impl UnwindSafe for DiedCause
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