pub struct TlsConnectRequest {
pub ctx: CallContext,
pub uri: Uri,
pub stream: BoxConnection,
}Fields§
§ctx: CallContext§uri: Uri§stream: BoxConnectionImplementations§
Source§impl TlsConnectRequest
impl TlsConnectRequest
pub fn new(ctx: CallContext, uri: Uri, stream: BoxConnection) -> Self
Trait Implementations§
Source§impl<C> Service<TlsConnectRequest> for TlsConnectorService<C>where
C: TlsConnector,
impl<C> Service<TlsConnectRequest> for TlsConnectorService<C>where
C: TlsConnector,
Source§type Response = Box<dyn ConnectionIo>
type Response = Box<dyn ConnectionIo>
Responses given by the service.
Source§type Future = Pin<Box<dyn Future<Output = Result<<TlsConnectorService<C> as Service<TlsConnectRequest>>::Response, <TlsConnectorService<C> as Service<TlsConnectRequest>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<TlsConnectorService<C> as Service<TlsConnectRequest>>::Response, <TlsConnectorService<C> as Service<TlsConnectRequest>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl !Freeze for TlsConnectRequest
impl !RefUnwindSafe for TlsConnectRequest
impl !Sync for TlsConnectRequest
impl !UnwindSafe for TlsConnectRequest
impl Send for TlsConnectRequest
impl Unpin for TlsConnectRequest
impl UnsafeUnpin for TlsConnectRequest
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