Struct actix_connect::TcpConnector [−][src]
pub struct TcpConnector<T>(_);
Expand description
TCP connector service
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
type Response = Connection<T, TcpStream>
type Response = Connection<T, TcpStream>
Responses given by the service.
type Error = ConnectError
type Error = ConnectError
Errors produced by the service.
The future response value.
Returns Ready
when the service is able to process requests. Read more
Process the request and return the response asynchronously. Read more
Map this service’s output to a different type, returning a new service of the resulting type. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for TcpConnector<T> where
T: RefUnwindSafe,
impl<T> Send for TcpConnector<T> where
T: Send,
impl<T> Sync for TcpConnector<T> where
T: Sync,
impl<T> Unpin for TcpConnector<T> where
T: Unpin,
impl<T> UnwindSafe for TcpConnector<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service