#[non_exhaustive]pub enum HostDeathNotification {
CleanShutdown,
TransportEof,
AbnormalExit,
}Expand description
The client-side observation that the host stopped serving the session.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CleanShutdown
Orderly shutdown: the host had the chance to write session-end records.
TransportEof
The transport reached EOF after the caller ruled out a client-owned close.
Raw EOF must first pass through attribute_transport_eof; constructing
this variant for an own-close EOF would contradict that attribution.
AbnormalExit
Any process exit other than clean shutdown.
Trait Implementations§
Source§impl Clone for HostDeathNotification
impl Clone for HostDeathNotification
Source§impl Debug for HostDeathNotification
impl Debug for HostDeathNotification
impl Eq for HostDeathNotification
Source§impl PartialEq for HostDeathNotification
impl PartialEq for HostDeathNotification
impl StructuralPartialEq for HostDeathNotification
Auto Trait Implementations§
impl Freeze for HostDeathNotification
impl RefUnwindSafe for HostDeathNotification
impl Send for HostDeathNotification
impl Sync for HostDeathNotification
impl Unpin for HostDeathNotification
impl UnsafeUnpin for HostDeathNotification
impl UnwindSafe for HostDeathNotification
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