pub enum IoOp {
Read,
Write,
CreateDir,
CreateTemp,
Rename,
Sync,
Install,
OpenLock,
Lock,
ReadDir,
Remove,
}Expand description
A filesystem or process operation that failed, for crate::error::ErrorDetail::Io.
Named rather than free text so both languages describe the same act and the
underlying std::io::Error stays on the source chain where it belongs.
Variants§
Read
Reading a file.
Write
Writing a file.
CreateDir
Creating a directory.
CreateTemp
Creating a temporary file.
Rename
Renaming a path into place.
Sync
Flushing data to durable storage.
Install
Installing a generated file at its destination.
OpenLock
Opening a lock file.
Lock
Taking an exclusive lock.
ReadDir
Listing a directory.
Remove
Removing an entry.
Trait Implementations§
impl Copy for IoOp
impl Eq for IoOp
impl StructuralPartialEq for IoOp
Auto Trait Implementations§
impl Freeze for IoOp
impl RefUnwindSafe for IoOp
impl Send for IoOp
impl Sync for IoOp
impl Unpin for IoOp
impl UnsafeUnpin for IoOp
impl UnwindSafe for IoOp
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.