Enum ssbh_lib::ReadSsbhError
source · pub enum ReadSsbhError {
BinRead(Error),
Io(Error),
InvalidSsbhType,
}
Expand description
Errors while reading SSBH files.
Variants§
BinRead(Error)
An error occurred while trying to read the file.
Io(Error)
An error occurred while trying to read the file.
InvalidSsbhType
The type of SSBH file did not match the expected SSBH type.
Trait Implementations§
source§impl Debug for ReadSsbhError
impl Debug for ReadSsbhError
source§impl Display for ReadSsbhError
impl Display for ReadSsbhError
source§impl Error for ReadSsbhError
impl Error for ReadSsbhError
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<Error> for ReadSsbhError
impl From<Error> for ReadSsbhError
Auto Trait Implementations§
impl !RefUnwindSafe for ReadSsbhError
impl Send for ReadSsbhError
impl Sync for ReadSsbhError
impl Unpin for ReadSsbhError
impl !UnwindSafe for ReadSsbhError
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