Struct imperator_save::ImperatorError
source · [−]pub struct ImperatorError(_);
Expand description
A Imperator Error
Implementations
sourceimpl ImperatorError
impl ImperatorError
sourcepub fn kind(&self) -> &ImperatorErrorKind
pub fn kind(&self) -> &ImperatorErrorKind
Return the specific type of error
Trait Implementations
sourceimpl Debug for ImperatorError
impl Debug for ImperatorError
sourceimpl Display for ImperatorError
impl Display for ImperatorError
sourceimpl Error for ImperatorError
impl Error for ImperatorError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Box<ImperatorErrorKind, Global>> for ImperatorError
impl From<Box<ImperatorErrorKind, Global>> for ImperatorError
sourcefn from(source: Box<ImperatorErrorKind>) -> Self
fn from(source: Box<ImperatorErrorKind>) -> Self
Converts to this type from the input type.
sourceimpl From<ImperatorErrorKind> for ImperatorError
impl From<ImperatorErrorKind> for ImperatorError
sourcefn from(err: ImperatorErrorKind) -> Self
fn from(err: ImperatorErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ImperatorError
impl Send for ImperatorError
impl Sync for ImperatorError
impl Unpin for ImperatorError
impl !UnwindSafe for ImperatorError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more