pub enum NfsResult {
Show 16 variants
Access {
status: NfsStatus,
supported: u32,
access: u32,
},
Close {
status: NfsStatus,
},
Commit {
status: NfsStatus,
},
Create {
status: NfsStatus,
},
GetAttr {
status: NfsStatus,
attrs: Option<NfsAttr>,
},
GetFH {
status: NfsStatus,
handle: Option<NfsFileHandle>,
},
Lookup {
status: NfsStatus,
},
Open {
status: NfsStatus,
state_id: [u8; 16],
},
PutFH {
status: NfsStatus,
},
PutRootFH {
status: NfsStatus,
},
Read {
status: NfsStatus,
eof: bool,
data: Vec<u8>,
},
ReadDir {
status: NfsStatus,
entries: Vec<NfsDirEntry>,
},
Remove {
status: NfsStatus,
},
Rename {
status: NfsStatus,
},
SetAttr {
status: NfsStatus,
},
Write {
status: NfsStatus,
count: u32,
committed: bool,
},
}Expand description
Result of an individual NFS operation.
Variants§
Access
Close
Commit
Create
GetAttr
GetFH
Lookup
Open
PutFH
PutRootFH
Read
ReadDir
Remove
Rename
SetAttr
Write
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NfsResult
impl RefUnwindSafe for NfsResult
impl Send for NfsResult
impl Sync for NfsResult
impl Unpin for NfsResult
impl UnwindSafe for NfsResult
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)