pub struct Directory { /* private fields */ }Expand description
A capability that is a fuchsia.io directory.
The directory may optionally be backed by a future that serves its contents.
Implementations§
Trait Implementations§
Source§impl CapabilityBound for Directory
 
impl CapabilityBound for Directory
fn debug_typename() -> &'static str
Source§impl From<ClientEnd<DirectoryMarker>> for Directory
 
impl From<ClientEnd<DirectoryMarker>> for Directory
Source§fn from(client_end: ClientEnd<DirectoryMarker>) -> Self
 
fn from(client_end: ClientEnd<DirectoryMarker>) -> Self
Converts to this type from the input type.
Source§impl From<Directory> for Capability
 
impl From<Directory> for Capability
Source§impl From<Directory> for Capability
 
impl From<Directory> for Capability
Source§impl FromEnum<Capability> for Directory
 
impl FromEnum<Capability> for Directory
fn from_enum(e: &Capability) -> Option<&Self>
Source§impl RemotableCapability for Directory
 
impl RemotableCapability for Directory
Source§fn try_into_directory_entry(
    self,
    _scope: ExecutionScope,
) -> Result<Arc<dyn DirectoryEntry>, ConversionError>
 
fn try_into_directory_entry( self, _scope: ExecutionScope, ) -> Result<Arc<dyn DirectoryEntry>, ConversionError>
Attempt to convert 
self to a DirectoryEntry which can be served in a
VFS. Read moreAuto Trait Implementations§
impl Freeze for Directory
impl RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnwindSafe for Directory
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more