pub struct Chain {
pub routes: Vec<NamedRoute>,
pub source: ChainSource,
pub aux: Option<NamedRoute>,
pub delegate: Option<NamedRoute>,
}Expand description
The routes one run will use, in order.
Fields§
§routes: Vec<NamedRoute>§source: ChainSource§aux: Option<NamedRoute>The route [provider] aux names; None when unset, which means the first of routes.
delegate: Option<NamedRoute>The route [provider] delegate names; None when unset, which means the first of routes.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Chain
Auto Trait Implementations§
impl Forget for Chain
impl Freeze for Chainwhere
*const u8 is !null: Freeze,
PhantomData<NamedRoute>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<RouteConfig>: Freeze,
impl Move for Chain
impl RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnsafeUnpin for Chainwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<NamedRoute>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<RouteConfig>: UnsafeUnpin,
impl UnwindSafe for Chain
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