pub enum FileError {
BadFilePath,
FileNotFound,
}
Expand description
General error type for file loading functions which can fail
Variants§
BadFilePath
Invalid file path (typically due to the presence of null bytes in the string)
FileNotFound
File not found, or failed to read
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileError
impl RefUnwindSafe for FileError
impl Send for FileError
impl Sync for FileError
impl Unpin for FileError
impl UnwindSafe for FileError
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