[][src]Struct roa_core::Context

pub struct Context<M: Model>(_);

Methods

impl<M: Model> Context<M>[src]

pub fn new(request: Request, app: App<M>, peer_addr: SocketAddr) -> Self[src]

Methods from Deref<Target = Ctx<M>>

Trait Implementations

impl<M: Model> Clone for Context<M>[src]

impl<M: Model> Deref for Context<M>[src]

type Target = Ctx<M>

The resulting type after dereferencing.

impl<M: Model> DerefMut for Context<M>[src]

impl<M: Model> From<Ctx<M>> for Context<M>[src]

impl<M: Model> Send for Context<M>[src]

impl<M: Model> Sync for Context<M>[src]

Auto Trait Implementations

impl<M> !RefUnwindSafe for Context<M>

impl<M> Unpin for Context<M>

impl<M> !UnwindSafe for Context<M>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.