Struct ExConnectToHost
pub struct ExConnectToHost<'ex> { /* private fields */ }Expand description
Default-param extender for HttpClient::connect_to_host_ex.
Implementations§
§impl<'ex> ExConnectToHost<'ex>
impl<'ex> ExConnectToHost<'ex>
pub fn port(self, port: i32) -> ExConnectToHost<'ex>
pub fn tls_options( self, tls_options: impl AsArg<Option<Gd<TlsOptions>>> + 'ex, ) -> ExConnectToHost<'ex>
pub fn done(self) -> Error
Auto Trait Implementations§
impl<'ex> !Send for ExConnectToHost<'ex>
impl<'ex> !Sync for ExConnectToHost<'ex>
impl<'ex> !UnwindSafe for ExConnectToHost<'ex>
impl<'ex> Forget for ExConnectToHost<'ex>
impl<'ex> Freeze for ExConnectToHost<'ex>where
PhantomData<&'ex ()>: Freeze,
&'ex mut HttpClient: Freeze,
PhantomData<*const u8>: Freeze,
&'ex GString: Freeze,
*mut TlsOptions: Freeze,
NonZero<u64>: Freeze,
(): Freeze,
&'ex Option<Gd<TlsOptions>>: Freeze,
impl<'ex> Move for ExConnectToHost<'ex>
impl<'ex> RefUnwindSafe for ExConnectToHost<'ex>
impl<'ex> Unpin for ExConnectToHost<'ex>
impl<'ex> UnsafeUnpin for ExConnectToHost<'ex>where
PhantomData<&'ex ()>: UnsafeUnpin,
&'ex mut HttpClient: UnsafeUnpin,
PhantomData<*const u8>: UnsafeUnpin,
&'ex GString: UnsafeUnpin,
*mut TlsOptions: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
(): UnsafeUnpin,
&'ex Option<Gd<TlsOptions>>: UnsafeUnpin,
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