pub enum FileIoAction {
None,
Success,
Unnecessary,
OpenFailed,
ReadFailed,
WriteFailed,
CloseFailed,
RemoveFailed,
}Expand description
Result code returned by Xlog::oneshot_flush.
Variants§
None
No file action was taken.
Success
The requested file action completed successfully.
Unnecessary
The requested file action was not needed.
OpenFailed
Opening the source or destination file failed.
ReadFailed
Reading a source file failed.
WriteFailed
Writing a destination file failed.
CloseFailed
Closing a file handle failed.
RemoveFailed
Removing a source file failed.
Trait Implementations§
Source§impl Clone for FileIoAction
impl Clone for FileIoAction
Source§fn clone(&self) -> FileIoAction
fn clone(&self) -> FileIoAction
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 FileIoAction
impl Debug for FileIoAction
Source§impl From<i32> for FileIoAction
impl From<i32> for FileIoAction
Source§impl PartialEq for FileIoAction
impl PartialEq for FileIoAction
impl Copy for FileIoAction
impl Eq for FileIoAction
impl StructuralPartialEq for FileIoAction
Auto Trait Implementations§
impl Freeze for FileIoAction
impl RefUnwindSafe for FileIoAction
impl Send for FileIoAction
impl Sync for FileIoAction
impl Unpin for FileIoAction
impl UnsafeUnpin for FileIoAction
impl UnwindSafe for FileIoAction
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