pub struct TokioClient;
Implementations§
Source§impl TokioClient
impl TokioClient
pub async fn connect<T>(client: &str, tls_mode: T) -> Result<Client, Error>where
T: AsyncMakeTlsConnect<Socket> + 'static + Send,
T::TlsConnect: Send,
T::Stream: Send,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,
Auto Trait Implementations§
impl Freeze for TokioClient
impl RefUnwindSafe for TokioClient
impl Send for TokioClient
impl Sync for TokioClient
impl Unpin for TokioClient
impl UnwindSafe for TokioClient
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