pub enum ChildShutdownRejection {
NotEstablished,
AlreadyStopping,
}Expand description
Why a local child-shutdown request was not accepted.
Variants§
NotEstablished
No established child is bound at the requested creator-local nonce.
AlreadyStopping
Shutdown was already accepted for the selected child.
Trait Implementations§
Source§impl Clone for ChildShutdownRejection
impl Clone for ChildShutdownRejection
Source§fn clone(&self) -> ChildShutdownRejection
fn clone(&self) -> ChildShutdownRejection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChildShutdownRejection
impl Debug for ChildShutdownRejection
Source§impl Display for ChildShutdownRejection
impl Display for ChildShutdownRejection
Source§impl Error for ChildShutdownRejection
impl Error for ChildShutdownRejection
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ChildShutdownRejection
impl PartialEq for ChildShutdownRejection
impl Copy for ChildShutdownRejection
impl Eq for ChildShutdownRejection
impl StructuralPartialEq for ChildShutdownRejection
Auto Trait Implementations§
impl Freeze for ChildShutdownRejection
impl RefUnwindSafe for ChildShutdownRejection
impl Send for ChildShutdownRejection
impl Sync for ChildShutdownRejection
impl Unpin for ChildShutdownRejection
impl UnsafeUnpin for ChildShutdownRejection
impl UnwindSafe for ChildShutdownRejection
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