pub struct ImperatorError(/* private fields */);Expand description
A Imperator Error
Implementations§
Source§impl ImperatorError
impl ImperatorError
Sourcepub fn kind(&self) -> &ImperatorErrorKind
pub fn kind(&self) -> &ImperatorErrorKind
Return the specific type of error
Trait Implementations§
Source§impl Debug for ImperatorError
impl Debug for ImperatorError
Source§impl Display for ImperatorError
impl Display for ImperatorError
Source§impl Error for ImperatorError
impl Error for ImperatorError
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<Box<ImperatorErrorKind>> for ImperatorError
impl From<Box<ImperatorErrorKind>> for ImperatorError
Source§fn from(source: Box<ImperatorErrorKind>) -> Self
fn from(source: Box<ImperatorErrorKind>) -> Self
Converts to this type from the input type.
Source§impl From<ImperatorErrorKind> for ImperatorError
impl From<ImperatorErrorKind> for ImperatorError
Source§fn from(err: ImperatorErrorKind) -> Self
fn from(err: ImperatorErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImperatorError
impl !RefUnwindSafe for ImperatorError
impl Send for ImperatorError
impl Sync for ImperatorError
impl Unpin for ImperatorError
impl !UnwindSafe for ImperatorError
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