#[repr(C)]pub enum Error {
FileNotFound = 0,
BadFileHandle = 1,
IOError = 2,
NotSupported = 3,
Unknown = 65_535,
}
Expand description
The set of Error codes the API can report.
Variants§
FileNotFound = 0
The given filename was not found
BadFileHandle = 1
The given file handle was not valid
IOError = 2
Error reading or writing
NotSupported = 3
You can’t do that operation on that sort of file
Unknown = 65_535
An unknown error occured
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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