pub struct Connection<C, B>where
C: Connection<B>,
B: Buf,{ /* private fields */ }
Implementations§
Auto Trait Implementations§
impl<C, B> Freeze for Connection<C, B>where
C: Freeze,
<C as Connection<B>>::SendStream: Freeze,
<C as Connection<B>>::RecvStream: Freeze,
impl<C, B> RefUnwindSafe for Connection<C, B>where
C: RefUnwindSafe,
<C as Connection<B>>::SendStream: RefUnwindSafe,
<C as Connection<B>>::RecvStream: RefUnwindSafe,
B: RefUnwindSafe,
impl<C, B> Send for Connection<C, B>where
C: Send,
<C as Connection<B>>::SendStream: Send,
<C as Connection<B>>::RecvStream: Send,
B: Send,
impl<C, B> Sync for Connection<C, B>where
C: Sync,
<C as Connection<B>>::SendStream: Sync,
<C as Connection<B>>::RecvStream: Sync,
B: Sync,
impl<C, B> Unpin for Connection<C, B>where
C: Unpin,
<C as Connection<B>>::SendStream: Unpin,
<C as Connection<B>>::RecvStream: Unpin,
B: Unpin,
impl<C, B> UnwindSafe for Connection<C, B>where
C: UnwindSafe,
<C as Connection<B>>::SendStream: UnwindSafe,
<C as Connection<B>>::RecvStream: UnwindSafe,
B: 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