pub enum IoOperationKind {
Read,
Write,
Create,
Delete,
Rename,
CreateDir,
ReadDir,
Sync,
}Expand description
File I/O operation kind.
Identifies the specific type of I/O operation that failed.
Variants§
Read
Reading from a file
Write
Writing to a file
Create
Creating a new file
Delete
Deleting a file
Rename
Renaming/moving a file
CreateDir
Creating a directory
ReadDir
Reading directory contents
Sync
Syncing file contents to disk
Trait Implementations§
Source§impl Clone for IoOperationKind
impl Clone for IoOperationKind
Source§fn clone(&self) -> IoOperationKind
fn clone(&self) -> IoOperationKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IoOperationKind
impl Debug for IoOperationKind
Source§impl Display for IoOperationKind
impl Display for IoOperationKind
Source§impl PartialEq for IoOperationKind
impl PartialEq for IoOperationKind
impl Copy for IoOperationKind
impl Eq for IoOperationKind
impl StructuralPartialEq for IoOperationKind
Auto Trait Implementations§
impl Freeze for IoOperationKind
impl RefUnwindSafe for IoOperationKind
impl Send for IoOperationKind
impl Sync for IoOperationKind
impl Unpin for IoOperationKind
impl UnwindSafe for IoOperationKind
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.