[][src]Struct silver_rs::Http

pub struct Http;

Trait Implementations

impl<T: AsyncRead + AsyncWrite + 'static> ServerProto<T> for Http[src]

type Request = Request

Request messages.

type Response = Response

Response messages.

type Transport = Framed<T, HttpCodec>

The message transport, which works with I/O objects of type T. Read more

type BindTransport = Result<Framed<T, HttpCodec>>

A future for initializing a transport from an I/O object. Read more

Auto Trait Implementations

impl Send for Http

impl Sync for Http

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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<T, P> BindServer for P where
    P: ServerProto<T>,
    T: 'static, 
[src]

type ServiceRequest = <P as ServerProto<T>>::Request

The request type for the service.

type ServiceResponse = <P as ServerProto<T>>::Response

The response type for the service.

type ServiceError = Error

The error type for the service.

impl<T> Erased for T