Struct btfproto::msg::ReadDirReply
source · pub struct ReadDirReply {
pub entries: Vec<(String, DirEntry)>,
pub new_state: u64,
}
Expand description
A reply containing the contents of a directory.
Fields§
§entries: Vec<(String, DirEntry)>
§new_state: u64
This is the value to pass in a subsequent ReadDir message to continue reading this directory. A value of 0 indicates that all entries have been returned.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ReadDirReply
impl<'de> Deserialize<'de> for ReadDirReply
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 ReadDirReply
impl Send for ReadDirReply
impl Sync for ReadDirReply
impl Unpin for ReadDirReply
impl UnwindSafe for ReadDirReply
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