Enum meio_connect::TermReason [−][src]
pub enum TermReason {
Interrupted,
Closed,
}
Expand description
The reason of connection termination.
Variants
Interrupted
The connection was interrupted.
Closed
The connection was closed (properly).
Implementations
Was the handler interrupted?
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TermReason
impl Send for TermReason
impl Sync for TermReason
impl Unpin for TermReason
impl UnwindSafe for TermReason
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more