pub struct ReadDir {
pub inode: Inode,
pub handle: Handle,
pub limit: u32,
pub state: u64,
}
Expand description
A request to read the contents of a directory.
Fields§
§inode: Inode
§handle: Handle
§limit: u32
The maximum number of directory entries to return in a single response. A value of 0 indicates there is no limit. Note that the server may impose it’s own limit.
state: u64
An opaque value which the server uses to keep track of the client’s position in reading the directory. A value of 0 indicates the directory is to be iterated from the beginning.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ReadDir
impl<'de> Deserialize<'de> for ReadDir
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ReadDir
impl Send for ReadDir
impl Sync for ReadDir
impl Unpin for ReadDir
impl UnwindSafe for ReadDir
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