Enum paxakos::error::ShutDownOr [−][src]
pub enum ShutDownOr<E> {
Other(E),
ShutDown,
}
Expand description
Node is shut down.
Variants
An event other than ‘shut down’ occured.
Node is shut down.
Implementations
Applies the mapping function to the other event, if present.
Expect an event other than ‘shut down’ to have occured.
Panics if a shut down occured.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<E> RefUnwindSafe for ShutDownOr<E> where
E: RefUnwindSafe,
impl<E> Send for ShutDownOr<E> where
E: Send,
impl<E> Sync for ShutDownOr<E> where
E: Sync,
impl<E> Unpin for ShutDownOr<E> where
E: Unpin,
impl<E> UnwindSafe for ShutDownOr<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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