pub struct UseDictionaryRouter { /* private fields */ }
Expand description
Given an original dictionary and a handful of additional dictionary routers, produces a router that when invoked will route all the additional routers, merge everything together into a single dictionary, and return that.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UseDictionaryRouter
impl !RefUnwindSafe for UseDictionaryRouter
impl Send for UseDictionaryRouter
impl Sync for UseDictionaryRouter
impl Unpin for UseDictionaryRouter
impl !UnwindSafe for UseDictionaryRouter
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<R, T> LazyGet<T> for R
impl<R, T> LazyGet<T> for R
Source§fn lazy_get<P>(self, path: P, not_found_error: RoutingError) -> Router<T>where
P: IterablePath + Debug + 'static,
fn lazy_get<P>(self, path: P, not_found_error: RoutingError) -> Router<T>where
P: IterablePath + Debug + 'static,
Returns a router that requests a dictionary from the specified
path
relative to
the base routable or fails the request with not_found_error
if the member is not
found.