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