pub struct Hoi4Error(_);
Expand description
A Hoi4 Error
Implementations§
Trait Implementations§
source§impl Error for Hoi4Error
impl Error for Hoi4Error
source§fn 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 · 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<Hoi4ErrorKind, Global>> for Hoi4Error
impl From<Box<Hoi4ErrorKind, Global>> for Hoi4Error
source§fn from(source: Box<Hoi4ErrorKind>) -> Self
fn from(source: Box<Hoi4ErrorKind>) -> Self
Converts to this type from the input type.
source§impl From<Hoi4ErrorKind> for Hoi4Error
impl From<Hoi4ErrorKind> for Hoi4Error
source§fn from(err: Hoi4ErrorKind) -> Self
fn from(err: Hoi4ErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Hoi4Error
impl Send for Hoi4Error
impl Sync for Hoi4Error
impl Unpin for Hoi4Error
impl !UnwindSafe for Hoi4Error
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