pub struct Connection2<S> {
pub stream: S,
pub next: Arc<ConnectionWaker>,
pub ready: Arc<ConnectionWaker2>,
pub flush: Arc<ConnectionWaker2>,
pub close: Arc<ConnectionWaker>,
}Fields§
§stream: S§next: Arc<ConnectionWaker>§ready: Arc<ConnectionWaker2>§flush: Arc<ConnectionWaker2>§close: Arc<ConnectionWaker>Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Connection2<S>where
S: Freeze,
impl<S> !RefUnwindSafe for Connection2<S>
impl<S> Send for Connection2<S>where
S: Send,
impl<S> Sync for Connection2<S>where
S: Sync,
impl<S> Unpin for Connection2<S>where
S: Unpin,
impl<S> !UnwindSafe for Connection2<S>
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