pub enum LoadError {
Generic(String),
File {
message: String,
path: PathBuf,
},
}
Expand description
Defines the possible load errors.
Variants§
Generic(String)
Indicates a generic load error with an error message.
File
Indicates a file load error.
Implementations§
Trait Implementations§
impl StructuralPartialEq for LoadError
Auto Trait Implementations§
impl Freeze for LoadError
impl RefUnwindSafe for LoadError
impl Send for LoadError
impl Sync for LoadError
impl Unpin for LoadError
impl UnwindSafe for LoadError
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