pub enum ShutdownErrorKind {
    InternalError,
    Fork(ForkErrorKind),
    Recv(RecvErrorKind),
}Variants§
Trait Implementations§
Source§impl Clone for ShutdownErrorKind
 
impl Clone for ShutdownErrorKind
Source§fn clone(&self) -> ShutdownErrorKind
 
fn clone(&self) -> ShutdownErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
 
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for ShutdownErrorKind
 
impl Debug for ShutdownErrorKind
Source§impl<'de> Deserialize<'de> for ShutdownErrorKind
 
impl<'de> Deserialize<'de> for ShutdownErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ShutdownErrorKind
 
impl Display for ShutdownErrorKind
Source§impl Error for ShutdownErrorKind
 
impl Error for ShutdownErrorKind
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 Hash for ShutdownErrorKind
 
impl Hash for ShutdownErrorKind
Source§impl Ord for ShutdownErrorKind
 
impl Ord for ShutdownErrorKind
Source§fn cmp(&self, other: &ShutdownErrorKind) -> Ordering
 
fn cmp(&self, other: &ShutdownErrorKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShutdownErrorKind
 
impl PartialEq for ShutdownErrorKind
Source§impl PartialOrd for ShutdownErrorKind
 
impl PartialOrd for ShutdownErrorKind
Source§impl Serialize for ShutdownErrorKind
 
impl Serialize for ShutdownErrorKind
impl Copy for ShutdownErrorKind
impl Eq for ShutdownErrorKind
impl Message for ShutdownErrorKind
impl StructuralPartialEq for ShutdownErrorKind
Auto Trait Implementations§
impl Freeze for ShutdownErrorKind
impl RefUnwindSafe for ShutdownErrorKind
impl Send for ShutdownErrorKind
impl Sync for ShutdownErrorKind
impl Unpin for ShutdownErrorKind
impl UnwindSafe for ShutdownErrorKind
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