pub enum ImfError {
Io(Error),
AssetMapParse(AssetMapParseError),
CplParse(CplParseError),
Uuid(String),
MissingFile(String),
InvalidStructure(String),
}Variants§
Io(Error)
AssetMapParse(AssetMapParseError)
CplParse(CplParseError)
Uuid(String)
MissingFile(String)
InvalidStructure(String)
Trait Implementations§
Source§impl Error for ImfError
impl Error for ImfError
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<AssetMapParseError> for ImfError
impl From<AssetMapParseError> for ImfError
Source§fn from(source: AssetMapParseError) -> Self
fn from(source: AssetMapParseError) -> Self
Converts to this type from the input type.
Source§impl From<CplParseError> for ImfError
impl From<CplParseError> for ImfError
Source§fn from(source: CplParseError) -> Self
fn from(source: CplParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ImfError
impl !UnwindSafe for ImfError
impl Freeze for ImfError
impl Send for ImfError
impl Sync for ImfError
impl Unpin for ImfError
impl UnsafeUnpin for ImfError
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