[][src]Struct amiya::Context

pub struct Context<'x, Ex> {
    pub req: &'x Request,
    pub resp: &'x mut Response,
    pub ex: &'x mut Ex,
    // some fields omitted
}

Fields

req: &'x Requestresp: &'x mut Responseex: &'x mut Ex

Implementations

impl<'x, Ex> Context<'x, Ex> where
    Ex: Send + Sync + 'static, 
[src]

pub async fn next<'_>(&'_ mut self) -> Result[src]

pub fn remain_path(&self) -> &str[src]

Auto Trait Implementations

impl<'x, Ex> !RefUnwindSafe for Context<'x, Ex>

impl<'x, Ex> Send for Context<'x, Ex> where
    Ex: Send

impl<'x, Ex> Sync for Context<'x, Ex> where
    Ex: Sync

impl<'x, Ex> Unpin for Context<'x, Ex>

impl<'x, Ex> !UnwindSafe for Context<'x, Ex>

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<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,