[−][src]Enum custom_codes::FileOps
File operations
Variants
DirAccessDeniedDirectory Access Denied
DirIsReadOnlyDirectory is read only
DirectoryAppendOnlyDirectory is append only
FileIsReadOnlyFile is read only
FileIsAppendOnlyFile is append only
DeletionDeniedDelete operation denied due to permissions
DeletionToBeDoneDeletion could not be done as another operation is reading the file
ReadDoneRead has been completed especially useful in async operations
WriteDoneWrite operation has been competed
UpdateDoneUpdate operation completed
DeletionDoneDeletion operation completed
ReadInProgressRead is in progress
WriteInProgessWrite is in progress
UpdateInProgressUpdate is in progress
DeletionInProgressFile has been deleted
DirOpenedDirectory has been opened
DirClosedDirectory is no longer open
DirModifiedDirectory has been modified
OpenedFileFile has been opened
ClosedFileFile has been closed
OpenErrorUnable To Open File
EncounteredErrors(R)The operation comleted with a given error
CreateDeniedCreation of the file is denied
ReadDeniedRead acess to file is denied
UpdateDeniedUpdate to the file is denied
WriteDeniedWriting to the file has been denied
AppendDeniedAppending to the file has been denied
MetadataAddedMetadata has been added to file or directory
MetadataNotAvailableFile or directory does not contain Metadata
MetadataChangedmetadata changed
MetadataDeletedNetadata has been Deleted
OpenTrueOpen a file. any open can read contents
OpenFalseDo not open file
CreateTrueCreate a file if it does not exist
CreateFalseDo Not Create a file it does not exist
WriteTrueWrite to a file
WriteFalseDo not write to file
AppendTrueAppend to a file
DeleteTrueDelete a file if it exists,
Trait Implementations
impl<R: Clone> Clone for FileOps<R>[src]
impl<R: Eq> Eq for FileOps<R>[src]
impl<R: PartialEq> PartialEq<FileOps<R>> for FileOps<R>[src]
impl<R: Debug> Debug for FileOps<R>[src]
impl<R> Serialize for FileOps<R> where
R: Serialize, [src]
R: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de, R> Deserialize<'de> for FileOps<R> where
R: Deserialize<'de>, [src]
R: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl<R> Send for FileOps<R> where
R: Send,
R: Send,
impl<R> Sync for FileOps<R> where
R: Sync,
R: Sync,
impl<R> Unpin for FileOps<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for FileOps<R> where
R: UnwindSafe,
R: UnwindSafe,
impl<R> RefUnwindSafe for FileOps<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
Blanket Implementations
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>,
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> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
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>,