Struct routing::DirectoryState
source · 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, capability: &CapabilityDecl) -> Result<(), RoutingError>
fn visit(&mut self, 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, expose: &ExposeDecl) -> Result<(), RoutingError>
fn visit(&mut self, expose: &ExposeDecl) -> Result<(), RoutingError>
Visit each
ExposeDecl
on the route.
Returning an Err
cancels visitation.source§impl OfferVisitor for DirectoryState
impl OfferVisitor for DirectoryState
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