pub struct AsyncClient<S>{ /* private fields */ }
Implementations§
Source§impl<S> AsyncClient<S>
impl<S> AsyncClient<S>
pub fn new(connection: AsyncConnection<S>) -> Self
Source§impl<S> AsyncClient<S>
impl<S> AsyncClient<S>
pub async fn raw_connect( self, command_connect: ConnectCommand, ) -> Result<(AsyncSession, AsyncHandler<S>), RawConnectError>
Auto Trait Implementations§
impl<S> !Freeze for AsyncClient<S>
impl<S> RefUnwindSafe for AsyncClient<S>where
S: RefUnwindSafe,
impl<S> Send for AsyncClient<S>where
S: Send,
impl<S> Sync for AsyncClient<S>where
S: Sync,
impl<S> Unpin for AsyncClient<S>
impl<S> UnwindSafe for AsyncClient<S>where
S: UnwindSafe,
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