pub struct DirectoryState {
pub subdir: RelativePath,
/* private fields */
}
Expand description
The accumulated state of routing a Directory capability.
Fields§
§subdir: RelativePath
Trait Implementations§
Source§impl CapabilityVisitor for DirectoryState
impl CapabilityVisitor for DirectoryState
Source§fn visit(
&mut self,
moniker: &ExtendedMoniker,
capability: &CapabilityDecl,
) -> Result<(), RoutingError>
fn visit( &mut self, moniker: &ExtendedMoniker, capability: &CapabilityDecl, ) -> Result<(), RoutingError>
Visit each
CapabilityDecl
on the route.
Returning an Err
cancels visitation.Source§impl Clone for DirectoryState
impl Clone for DirectoryState
Source§fn clone(&self) -> DirectoryState
fn clone(&self) -> DirectoryState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DirectoryState
impl Debug for DirectoryState
Source§impl ExposeVisitor for DirectoryState
impl ExposeVisitor for DirectoryState
Source§fn visit(
&mut self,
moniker: &ExtendedMoniker,
expose: &ExposeDecl,
) -> Result<(), RoutingError>
fn visit( &mut self, moniker: &ExtendedMoniker, expose: &ExposeDecl, ) -> Result<(), RoutingError>
Visit each
ExposeDecl
on the route.
Returning an Err
cancels visitation.Source§impl OfferVisitor for DirectoryState
impl OfferVisitor for DirectoryState
fn visit( &mut self, moniker: &ExtendedMoniker, offer: &OfferDecl, ) -> Result<(), RoutingError>
Auto Trait Implementations§
impl Freeze for DirectoryState
impl RefUnwindSafe for DirectoryState
impl Send for DirectoryState
impl Sync for DirectoryState
impl Unpin for DirectoryState
impl UnwindSafe for DirectoryState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)