pub enum NfsOperation {
Show 16 variants
Access {
access_mask: u32,
},
Close {
state_id: [u8; 16],
},
Commit {
offset: u64,
count: u32,
},
Create {
name: String,
file_type: NfsFtype,
},
GetAttr {
attr_request: u64,
},
GetFH,
Lookup {
name: String,
},
Open {
name: String,
access: u32,
deny: u32,
},
PutFH {
handle: NfsFileHandle,
},
PutRootFH,
Read {
state_id: [u8; 16],
offset: u64,
count: u32,
},
ReadDir {
cookie: u64,
count: u32,
},
Remove {
name: String,
},
Rename {
old_name: String,
new_name: String,
},
SetAttr {
state_id: [u8; 16],
attrs: NfsAttr,
},
Write {
state_id: [u8; 16],
offset: u64,
data: Vec<u8>,
stable: bool,
},
}Expand description
NFS v4 operation with associated data.
Variants§
Access
Fields
§
access_mask: u32Close
Fields
§
state_id: [u8; 16]Commit
Create
GetAttr
Fields
§
attr_request: u64GetFH
Lookup
Fields
§
name: StringOpen
PutFH
Fields
§
handle: NfsFileHandlePutRootFH
Read
ReadDir
Remove
Fields
§
name: StringRename
SetAttr
Write
Trait Implementations§
Source§impl Clone for NfsOperation
impl Clone for NfsOperation
Source§fn clone(&self) -> NfsOperation
fn clone(&self) -> NfsOperation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NfsOperation
impl RefUnwindSafe for NfsOperation
impl Send for NfsOperation
impl Sync for NfsOperation
impl Unpin for NfsOperation
impl UnwindSafe for NfsOperation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)