pub enum OpenAction {
Opened,
Created,
Overwritten,
}Expand description
What ShareBackend::open did to the file (MS-SMB2 2.2.14 CreateAction).
Variants§
Opened
An existing file or directory was opened.
Created
A new file or directory was created.
Overwritten
An existing file was truncated to zero length, as
OpenIntent::Truncate and OpenIntent::OverwriteOrCreate do.
Trait Implementations§
Source§impl Clone for OpenAction
impl Clone for OpenAction
impl Copy for OpenAction
Source§impl Debug for OpenAction
impl Debug for OpenAction
impl Eq for OpenAction
Source§impl PartialEq for OpenAction
impl PartialEq for OpenAction
impl StructuralPartialEq for OpenAction
Auto Trait Implementations§
impl Forget for OpenAction
impl Freeze for OpenAction
impl Move for OpenAction
impl RefUnwindSafe for OpenAction
impl Send for OpenAction
impl Sync for OpenAction
impl Unpin for OpenAction
impl UnsafeUnpin for OpenAction
impl UnwindSafe for OpenAction
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