Struct ExConnectToHost
pub struct ExConnectToHost<'a> { /* private fields */ }
Expand description
Default-param extender for HttpClient::connect_to_host_ex
.
Implementations§
§impl<'a> ExConnectToHost<'a>
impl<'a> ExConnectToHost<'a>
pub fn port(self, value: i32) -> ExConnectToHost<'a>
pub fn tls_options( self, value: impl AsObjectArg<TlsOptions>, ) -> ExConnectToHost<'a>
pub fn done(self) -> Error
Auto Trait Implementations§
impl<'a> Freeze for ExConnectToHost<'a>
impl<'a> RefUnwindSafe for ExConnectToHost<'a>
impl<'a> !Send for ExConnectToHost<'a>
impl<'a> !Sync for ExConnectToHost<'a>
impl<'a> Unpin for ExConnectToHost<'a>
impl<'a> !UnwindSafe for ExConnectToHost<'a>
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