pub enum RunCheckedError {
InvalidUtf8(FromUtf8Error),
Unauthorized,
CommandFailed(Error),
}
Variants§
InvalidUtf8(FromUtf8Error)
CommandFailed(Error)
Implementations§
Trait Implementations§
source§impl Debug for RunCheckedError
impl Debug for RunCheckedError
source§impl Display for RunCheckedError
impl Display for RunCheckedError
source§impl Error for RunCheckedError
impl Error for RunCheckedError
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 From<FromUtf8Error> for RunCheckedError
impl From<FromUtf8Error> for RunCheckedError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<RunCheckedError> for Error
impl From<RunCheckedError> for Error
source§fn from(source: RunCheckedError) -> Self
fn from(source: RunCheckedError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RunCheckedError
impl !RefUnwindSafe for RunCheckedError
impl Send for RunCheckedError
impl Sync for RunCheckedError
impl Unpin for RunCheckedError
impl !UnwindSafe for RunCheckedError
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