Struct actix_net::framed::FramedService [−][src]
pub struct FramedService<S, T, U> { /* fields omitted */ }
Trait Implementations
impl<S, T, U> Clone for FramedService<S, T, U> where
S: Clone,
[src]
impl<S, T, U> Clone for FramedService<S, T, U> where
S: Clone,
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<S, T, U> Service for FramedService<S, T, U> where
T: AsyncRead + AsyncWrite,
U: Decoder + Encoder,
S: NewService<Request = <U as Decoder>::Item, Response = <U as Encoder>::Item>,
<<S as NewService>::Service as Service>::Future: 'static,
<<S as NewService>::Service as Service>::Error: 'static,
<U as Encoder>::Item: 'static,
<U as Encoder>::Error: 'static,
[src]
impl<S, T, U> Service for FramedService<S, T, U> where
T: AsyncRead + AsyncWrite,
U: Decoder + Encoder,
S: NewService<Request = <U as Decoder>::Item, Response = <U as Encoder>::Item>,
<<S as NewService>::Service as Service>::Future: 'static,
<<S as NewService>::Service as Service>::Error: 'static,
<U as Encoder>::Item: 'static,
<U as Encoder>::Error: 'static,
type Request = Framed<T, U>
Requests handled by the service.
type Response = FramedTransport<S::Service, T, U>
Responses given by the service.
type Error = S::InitError
Errors produced by the service.
type Future = FramedServiceResponseFuture<S, T, U>
The future response value.
fn poll_ready(&mut self) -> Poll<(), Self::Error>
[src]
fn poll_ready(&mut self) -> Poll<(), Self::Error>
Returns Ready
when the service is able to process requests. Read more
fn call(&mut self, req: Self::Request) -> Self::Future
[src]
fn call(&mut self, req: Self::Request) -> Self::Future
Process the request and return the response asynchronously. Read more
fn ready(self) -> Ready<Self>
[src]
fn ready(self) -> Ready<Self>
A future yielding the service when it is ready to accept a request.
Auto Trait Implementations
impl<S, T, U> Send for FramedService<S, T, U> where
S: Send,
T: Send,
U: Send,
impl<S, T, U> Send for FramedService<S, T, U> where
S: Send,
T: Send,
U: Send,
impl<S, T, U> Sync for FramedService<S, T, U> where
S: Sync,
T: Sync,
U: Sync,
impl<S, T, U> Sync for FramedService<S, T, U> where
S: Sync,
T: Sync,
U: Sync,