[−][src]Enum custom_codes::FileOps
File operations
Examples
let foo = FileOps::DirAccessDenied; assert_eq!(foo, FileOps::DirAccessDenied);
Variants
Directory Created
Directory Access Denied
Directory is read only
Directory is append only
File is read only
File is append only
Delete operation denied due to permissions
Deletion could not be done as another operation is reading the file
Read has been completed especially useful in async
operations
Write operation has been competed
The file or directory already exists
Update operation completed
Deletion operation completed
Read is in progress
Write is in progress
Update is in progress
File has been deleted
Directory has been opened
Directory is no longer open
Directory has been modified
File has been opened
File has been closed
Unable To Open File
EncounteredErrors(String)
The operation comleted with a given error
Creation of the file is denied
Read acess to file is denied
Update to the file is denied
Writing to the file has been denied
Appending to the file has been denied
Metadata has been added to file or directory
File or directory does not contain Metadata
metadata changed
Netadata has been Deleted
Open a file. any open can read contents
Do not open file
Create a file if it does not exist
Do Not Create a file it does not exist
Write to a file
Do not write to file
Append to a file
The Operation was interrupted and can be resumed
Delete a file if it exists,
Trait Implementations
impl Clone for FileOps
[src]
impl Debug for FileOps
[src]
impl<'de> Deserialize<'de> for FileOps
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for FileOps
[src]
impl PartialEq<FileOps> for FileOps
[src]
impl Serialize for FileOps
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for FileOps
[src]
impl StructuralPartialEq for FileOps
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileOps
impl Send for FileOps
impl Sync for FileOps
impl Unpin for FileOps
impl UnwindSafe for FileOps
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,