pub struct ShutDown;
Expand description
Node is shut down.
Trait Implementations
sourceimpl Error for ShutDown
impl Error for ShutDown
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Infallible> for ShutDown
impl From<Infallible> for ShutDown
sourcefn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
sourceimpl<I: Invocation> From<ShutDown> for AbortedError<I>
impl<I: Invocation> From<ShutDown> for AbortedError<I>
sourceimpl<I: Invocation> From<ShutDown> for AcceptError<I>
impl<I: Invocation> From<ShutDown> for AcceptError<I>
sourceimpl From<ShutDown> for AffirmSnapshotError
impl From<ShutDown> for AffirmSnapshotError
sourceimpl<I: Invocation> From<ShutDown> for AppendError<I>
impl<I: Invocation> From<ShutDown> for AppendError<I>
sourceimpl<I: Invocation> From<ShutDown> for CommitError<I>
impl<I: Invocation> From<ShutDown> for CommitError<I>
sourceimpl From<ShutDown> for InstallSnapshotError
impl From<ShutDown> for InstallSnapshotError
sourceimpl From<ShutDown> for LeaseError
impl From<ShutDown> for LeaseError
sourceimpl<I: Invocation> From<ShutDown> for PollError<I>
impl<I: Invocation> From<ShutDown> for PollError<I>
sourceimpl<I: Invocation> From<ShutDown> for PrepareError<I>
impl<I: Invocation> From<ShutDown> for PrepareError<I>
sourceimpl From<ShutDownOr<Infallible>> for ShutDown
impl From<ShutDownOr<Infallible>> for ShutDown
sourcefn from(_: ShutDownOr<Infallible>) -> Self
fn from(_: ShutDownOr<Infallible>) -> Self
Converts to this type from the input type.
impl Copy for ShutDown
Auto Trait Implementations
impl RefUnwindSafe for ShutDown
impl Send for ShutDown
impl Sync for ShutDown
impl Unpin for ShutDown
impl UnwindSafe for ShutDown
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more