pub struct SubNode<T: ?Sized> { /* private fields */ }
Expand description
A sub-node of a directory. This will work with types that implement Directory as well as RemoteDir.
Implementations§
Trait Implementations§
source§impl<T: DirectoryEntry + ?Sized> DirectoryEntry for SubNode<T>
impl<T: DirectoryEntry + ?Sized> DirectoryEntry for SubNode<T>
source§fn open_entry(self: Arc<Self>, request: OpenRequest<'_>) -> Result<(), Status>
fn open_entry(self: Arc<Self>, request: OpenRequest<'_>) -> Result<(), Status>
Opens this entry.
source§impl<T: DirectoryEntry + ?Sized> GetEntryInfo for SubNode<T>
impl<T: DirectoryEntry + ?Sized> GetEntryInfo for SubNode<T>
source§fn entry_info(&self) -> EntryInfo
fn entry_info(&self) -> EntryInfo
This method is used to populate ReadDirents() output.
Auto Trait Implementations§
impl<T> Freeze for SubNode<T>where
T: ?Sized,
impl<T> RefUnwindSafe for SubNode<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for SubNode<T>
impl<T> Sync for SubNode<T>
impl<T> Unpin for SubNode<T>where
T: ?Sized,
impl<T> UnwindSafe for SubNode<T>where
T: RefUnwindSafe + ?Sized,
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