Struct wasi::filesystem::types::DirectoryEntry
source · pub struct DirectoryEntry {
pub type_: DescriptorType,
pub name: String,
}
Expand description
A directory entry.
Fields§
§type_: DescriptorType
The type of the file referred to by this directory entry.
name: String
The name of the object.
Trait Implementations§
source§impl Clone for DirectoryEntry
impl Clone for DirectoryEntry
source§fn clone(&self) -> DirectoryEntry
fn clone(&self) -> DirectoryEntry
Returns a copy of the value. Read more
1.0.0 · source§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 DirectoryEntry
impl RefUnwindSafe for DirectoryEntry
impl Send for DirectoryEntry
impl Sync for DirectoryEntry
impl Unpin for DirectoryEntry
impl UnwindSafe for DirectoryEntry
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