pub enum ErrorTask {
ReadNumAtoms,
Read,
Write,
Flush,
Seek,
}
Expand description
The task being attempted when the C API returns an error
Variants§
ReadNumAtoms
The number of atoms was being read from a file
Read
A frame was being read from a file
Write
A frame was being written to a file
Flush
A file was being flushed to disk
Seek
A seek operation was being run on a file
Trait Implementations§
impl Copy for ErrorTask
impl StructuralPartialEq for ErrorTask
Auto Trait Implementations§
impl Freeze for ErrorTask
impl RefUnwindSafe for ErrorTask
impl Send for ErrorTask
impl Sync for ErrorTask
impl Unpin for ErrorTask
impl UnwindSafe for ErrorTask
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