pub fn as_dyn(&self) -> &(dyn ErrorTrait + 'static + Send + Sync) {
        match self {
            ErrorKind::AlreadyRunning(error) => error,
            ErrorKind::ServicesOff(error) => error,
            ErrorKind::IO(error) => error,
            ErrorKind::Fmt(error) => error,
            ErrorKind::ParseInt(error) => error,
            ErrorKind::Utf8(error) => error,
            ErrorKind::Join(error) => error,
            ErrorKind::Custom(error) => &**error,
        }
    }
/// Returns this error kind as a trait object.
Returns this error kind as a trait object.
Returns this error kind as a trait object .
pub fn as_dyn(&self) -> &(dyn ErrorTrait + 'static + Send + Sync) {
        match self {
            ErrorKind::AlreadyRunning(error) => error,
            ErrorKind::ServicesOff(error) => error,
            ErrorKind::IO(error) => error,
            ErrorKind::Fmt(error) => error,
            ErrorKind::ParseInt(error) => error,
            ErrorKind::Utf8(error) => error,
            ErrorKind::Join(error) => error,
            ErrorKind::Custom(error) => &**error,
        }
    }
pub fn as_dyn ( & self ) -> & ( dyn ErrorTrait + ' static + Send + Sync ) { match self { ErrorKind :: AlreadyRunning ( error ) => error , ErrorKind :: ServicesOff ( error ) => error , ErrorKind :: IO ( error ) => error , ErrorKind :: Fmt ( error ) => error , ErrorKind :: ParseInt ( error ) => error , ErrorKind :: Utf8 ( error ) => error , ErrorKind :: Join ( error ) => error , ErrorKind :: Custom ( error ) => & * * error , } }
Returns this error kind as a trait object.
Returns this error kind as a trait object .
&self
&self