Struct routing::legacy_router::NoopVisitor
source · pub struct NoopVisitor {}
Implementations§
source§impl NoopVisitor
impl NoopVisitor
pub fn new() -> NoopVisitor
Trait Implementations§
source§impl CapabilityVisitor for NoopVisitor
impl CapabilityVisitor for NoopVisitor
source§fn visit(&mut self, _: &CapabilityDecl) -> Result<(), RoutingError>
fn visit(&mut self, _: &CapabilityDecl) -> Result<(), RoutingError>
Visit each
CapabilityDecl
on the route.
Returning an Err
cancels visitation.source§impl Clone for NoopVisitor
impl Clone for NoopVisitor
source§fn clone(&self) -> NoopVisitor
fn clone(&self) -> NoopVisitor
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 ExposeVisitor for NoopVisitor
impl ExposeVisitor for NoopVisitor
source§fn visit(&mut self, _: &ExposeDecl) -> Result<(), RoutingError>
fn visit(&mut self, _: &ExposeDecl) -> Result<(), RoutingError>
Visit each
ExposeDecl
on the route.
Returning an Err
cancels visitation.source§impl OfferVisitor for NoopVisitor
impl OfferVisitor for NoopVisitor
Auto Trait Implementations§
impl Freeze for NoopVisitor
impl RefUnwindSafe for NoopVisitor
impl Send for NoopVisitor
impl Sync for NoopVisitor
impl Unpin for NoopVisitor
impl UnwindSafe for NoopVisitor
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