pub struct AsyncConnection<S> { /* private fields */ }
Implementations§
Source§impl<S> AsyncConnection<S>
impl<S> AsyncConnection<S>
pub fn new(stream: S, config: impl Into<Option<AsyncConnectionConfig>>) -> Self
Auto Trait Implementations§
impl<S> !Freeze for AsyncConnection<S>
impl<S> RefUnwindSafe for AsyncConnection<S>where
S: RefUnwindSafe,
impl<S> Send for AsyncConnection<S>where
S: Send,
impl<S> Sync for AsyncConnection<S>where
S: Sync,
impl<S> Unpin for AsyncConnection<S>where
S: Unpin,
impl<S> UnwindSafe for AsyncConnection<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