pub struct ComponentNamespaceEntry {
pub path: Option<String>,
pub directory: Option<ClientEnd<Channel, Directory>>,
}
Expand description
A single component namespace entry, which describes a namespace mount point
(path
) and the directory backing it (directory
). This type is usually
composed inside a vector. See ComponentStartInfo.ns
for more details.
Fields§
§path: Option<String>
§directory: Option<ClientEnd<Channel, Directory>>
Trait Implementations§
Source§impl Debug for ComponentNamespaceEntry
impl Debug for ComponentNamespaceEntry
Source§impl Encodable for ComponentNamespaceEntry
impl Encodable for ComponentNamespaceEntry
Source§type Encoded = WireComponentNamespaceEntry
type Encoded = WireComponentNamespaceEntry
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for ComponentNamespaceEntrywhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for ComponentNamespaceEntrywhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl TakeFrom<WireComponentNamespaceEntry> for ComponentNamespaceEntry
impl TakeFrom<WireComponentNamespaceEntry> for ComponentNamespaceEntry
Source§fn take_from(from: &WireComponentNamespaceEntry) -> Self
fn take_from(from: &WireComponentNamespaceEntry) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for ComponentNamespaceEntry
impl RefUnwindSafe for ComponentNamespaceEntry
impl Send for ComponentNamespaceEntry
impl Sync for ComponentNamespaceEntry
impl Unpin for ComponentNamespaceEntry
impl UnwindSafe for ComponentNamespaceEntry
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