pub struct Entry {
pub path: NamespacePath,
pub directory: ClientEnd<DirectoryMarker>,
}Expand description
A container for a single namespace entry, containing a path and a directory handle.
Fields§
§path: NamespacePathNamespace path.
directory: ClientEnd<DirectoryMarker>Namespace directory handle.
Trait Implementations§
Source§impl From<Entry> for ComponentNamespaceEntry
impl From<Entry> for ComponentNamespaceEntry
Source§impl From<Entry> for NamespaceEntry
impl From<Entry> for NamespaceEntry
Source§impl From<Entry> for NamespaceEntry
Available on Fuchsia only.
impl From<Entry> for NamespaceEntry
Available on Fuchsia only.
Source§impl Ord for Entry
impl Ord for Entry
Source§impl PartialOrd for Entry
impl PartialOrd for Entry
Source§impl TryFrom<ComponentNamespaceEntry> for Entry
impl TryFrom<ComponentNamespaceEntry> for Entry
Source§type Error = EntryError
type Error = EntryError
The type returned in the event of a conversion error.
Source§impl TryFrom<NamespaceEntry> for Entry
impl TryFrom<NamespaceEntry> for Entry
Source§type Error = EntryError
type Error = EntryError
The type returned in the event of a conversion error.
Source§impl TryFrom<NamespaceEntry> for Entry
Available on Fuchsia only.
impl TryFrom<NamespaceEntry> for Entry
Available on Fuchsia only.
Source§type Error = EntryError
type Error = EntryError
The type returned in the event of a conversion error.
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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