[][src]Struct solicit::http::server::ServerSession

pub struct ServerSession<'a, State, F, S> where
    State: SessionState + 'a,
    S: SendFrame + 'a,
    F: StreamFactory<Stream = State::Stream> + 'a, 
{ /* fields omitted */ }

An implementation of the Session trait for a server-side HTTP/2 connection.

Implementations

impl<'a, State, F, S> ServerSession<'a, State, F, S> where
    State: SessionState + 'a,
    S: SendFrame + 'a,
    F: StreamFactory<Stream = State::Stream> + 'a, 
[src]

pub fn new(
    state: &'a mut State,
    factory: &'a mut F,
    sender: &'a mut S
) -> ServerSession<'a, State, F, S>
[src]

Trait Implementations

impl<'a, State, F, S> Session for ServerSession<'a, State, F, S> where
    State: SessionState + 'a,
    S: SendFrame + 'a,
    F: StreamFactory<Stream = State::Stream> + 'a, 
[src]

Auto Trait Implementations

impl<'a, State, F, S> RefUnwindSafe for ServerSession<'a, State, F, S> where
    F: RefUnwindSafe,
    S: RefUnwindSafe,
    State: RefUnwindSafe

impl<'a, State, F, S> Send for ServerSession<'a, State, F, S> where
    F: Send,
    S: Send,
    State: Send

impl<'a, State, F, S> Sync for ServerSession<'a, State, F, S> where
    F: Sync,
    S: Sync,
    State: Sync

impl<'a, State, F, S> Unpin for ServerSession<'a, State, F, S>

impl<'a, State, F, S> !UnwindSafe for ServerSession<'a, State, F, 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<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.