[][src]Struct roa_router::RouteTable

pub struct RouteTable<S> { /* fields omitted */ }

An endpoint to route request by uri path.

Trait Implementations

impl<S> Default for RouteTable<S> where
    S: 'static, 
[src]

impl<'a, S> Endpoint<'a, S> for RouteTable<S> where
    S: 'static, 
[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for RouteTable<S>

impl<S> Send for RouteTable<S>

impl<S> Sync for RouteTable<S>

impl<S> Unpin for RouteTable<S>

impl<S> !UnwindSafe for RouteTable<S>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, S, T, F> Endpoint<'a, S> for T where
    F: 'a + Future<Output = Result<(), Error>>,
    S: 'a,
    T: 'static + Send + Sync + Fn(&'a mut Context<S>) -> F, 
[src]

impl<S, T> EndpointExt<S> for T where
    T: Endpoint<'a, S>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.