pub enum IVFCError {
ReadError(Error, &'static str),
SeekError(Error, &'static str),
FirstMagicError([u8; 4]),
SecondMagicError([u8; 4]),
Level3HeaderLenghtInvalid(u32),
UTF16LenghtNonMultiple2(&'static str, u32),
ToUTF16Error(FromUtf16Error, &'static str),
DirNotFound,
FileNotFound,
Poisoned,
}Variants§
ReadError(Error, &'static str)
SeekError(Error, &'static str)
FirstMagicError([u8; 4])
SecondMagicError([u8; 4])
Level3HeaderLenghtInvalid(u32)
UTF16LenghtNonMultiple2(&'static str, u32)
ToUTF16Error(FromUtf16Error, &'static str)
DirNotFound
FileNotFound
Poisoned
Trait Implementations§
Source§impl Error for IVFCError
impl Error for IVFCError
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<IVFCError> for GetRomfsError
impl From<IVFCError> for GetRomfsError
Source§fn from(e: IVFCError) -> GetRomfsError
fn from(e: IVFCError) -> GetRomfsError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IVFCError
impl !RefUnwindSafe for IVFCError
impl Send for IVFCError
impl Sync for IVFCError
impl Unpin for IVFCError
impl !UnwindSafe for IVFCError
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