[−][src]Enum custom_codes::FileOps
File operations
Variants
DirAccessDenied
Directory Access Denied
DirIsReadOnly
Directory is read only
DirectoryAppendOnly
Directory is append only
FileIsReadOnly
File is read only
FileIsAppendOnly
File is append only
DeletionDenied
Delete operation denied due to permissions
DeletionToBeDone
Deletion could not be done as another operation is reading the file
ReadDone
Read has been completed especially useful in async
operations
WriteDone
Write operation has been competed
UpdateDone
Update operation completed
DeletionDone
Deletion operation completed
ReadInProgress
Read is in progress
WriteInProgess
Write is in progress
UpdateInProgress
Update is in progress
DeletionInProgress
File has been deleted
DirOpened
Directory has been opened
DirClosed
Directory is no longer open
DirModified
Directory has been modified
OpenedFile
File has been opened
ClosedFile
File has been closed
CreateDenied
Creation of the file is denied
ReadDenied
Read acess to file is denied
UpdateDenied
Update to the file is denied
WriteDenied
Writing to the file has been denied
AppendDenied
Appending to the file has been denied
MetadataAdded
Metadata has been added to file or directory
MetadataNotAvailable
File or directory does not contain Metadata
MetadataChanged
metadata changed
MetadataDeleted
Netadata has been Deleted
OpenTrue
Open a file. any open can read contents
OpenFalse
Do not open file
CreateTrue
Create a file if it does not exist
CreateFalse
Do Not Create a file it does not exist
WriteTrue
Write to a file
WriteFalse
Do not write to file
AppendTrue
Append to a file
DeleteTrue
Delete a file if it exists,
Trait Implementations
impl PartialEq<FileOps> for FileOps
[src]
fn eq(&self, other: &FileOps) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for FileOps
[src]
fn clone(&self) -> FileOps
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for FileOps
[src]
impl Debug 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<'de> Deserialize<'de> for FileOps
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for FileOps
impl Unpin for FileOps
impl Send for FileOps
impl UnwindSafe for FileOps
impl RefUnwindSafe for FileOps
Blanket Implementations
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> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,