pub struct RustlsConnectorService<T, U> { /* private fields */ }Trait Implementations§
Source§impl<T, U> Clone for RustlsConnectorService<T, U>
impl<T, U> Clone for RustlsConnectorService<T, U>
Source§impl<T: Address, U> Service for RustlsConnectorService<T, U>
impl<T: Address, U> Service for RustlsConnectorService<T, U>
Source§type Request = Connection<T, U>
type Request = Connection<T, U>
Requests handled by the service.
Source§type Response = Connection<T, TlsStream<U>>
type Response = Connection<T, TlsStream<U>>
Responses given by the service.
Source§type Future = ConnectAsyncExt<T, U>
type Future = ConnectAsyncExt<T, U>
The future response value.
Source§fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
Returns
Ready when the service is able to process requests. Read moreSource§fn call(&mut self, stream: Connection<T, U>) -> Self::Future
fn call(&mut self, stream: Connection<T, U>) -> Self::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl<T, U> Freeze for RustlsConnectorService<T, U>
impl<T, U> !RefUnwindSafe for RustlsConnectorService<T, U>
impl<T, U> Send for RustlsConnectorService<T, U>
impl<T, U> Sync for RustlsConnectorService<T, U>
impl<T, U> Unpin for RustlsConnectorService<T, U>
impl<T, U> UnsafeUnpin for RustlsConnectorService<T, U>
impl<T, U> !UnwindSafe for RustlsConnectorService<T, U>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoService<T> for Twhere
T: Service,
impl<T> IntoService<T> for Twhere
T: Service,
Source§fn into_service(self) -> T
fn into_service(self) -> T
Convert to a
Service