pub enum AcfError {
Read(String),
Parse(ParseError),
Unknown,
}Expand description
Top level error type
Variants§
Read(String)
An error occurred reading a file
Parse(ParseError)
An error occurring during parsing (with specific sub-type)
Unknown
An unknown/uncategorized error
Trait Implementations§
Source§impl Error for AcfError
impl Error for AcfError
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()
impl Eq for AcfError
impl StructuralPartialEq for AcfError
Auto Trait Implementations§
impl Freeze for AcfError
impl RefUnwindSafe for AcfError
impl Send for AcfError
impl Sync for AcfError
impl Unpin for AcfError
impl UnwindSafe for AcfError
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.