pub struct Client { /* private fields */ }Trait Implementations§
Source§impl Dispatcher for Client
impl Dispatcher for Client
fn new(conn: ConnectionType, opts: DispatcherOptions) -> Self
fn dispatch<'a, 'life0, 'async_trait>(
&'life0 self,
packet: RequestPacket<'a>,
is_persistent: bool,
response_context: Option<ResponseContext>,
) -> Pin<Box<dyn Future<Output = Result<ClientPendingOp>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn close<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl !UnwindSafe for Client
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