pub trait DirectoryEntry:
GetEntryInfo
+ IntoAny
+ Sync
+ Send
+ 'static {
// Required method
fn open_entry(
self: Arc<Self>,
request: OpenRequest<'_>,
) -> Result<(), Status>;
}
Expand description
Pseudo directories contain items that implement this trait. Pseudo directories refer to the
items they contain as Arc<dyn DirectoryEntry>
.
NOTE: This trait only needs to be implemented if you want to add your nodes to a pseudo directory.
Required Methods§
Sourcefn open_entry(self: Arc<Self>, request: OpenRequest<'_>) -> Result<(), Status>
fn open_entry(self: Arc<Self>, request: OpenRequest<'_>) -> Result<(), Status>
Opens this entry.