pub struct IoChannel<T>(pub T);
Expand description
IoChannel(Stream/AsyncRead/AsyncWrite/fut) wrapper
Tuple Fields
0: T
Implementations
Trait Implementations
sourceimpl<S> Channel for IoChannel<S> where
S: Send + 'static + Sync,
impl<S> Channel for IoChannel<S> where
S: Send + 'static + Sync,
Auto Trait Implementations
impl<T> RefUnwindSafe for IoChannel<T> where
T: RefUnwindSafe,
impl<T> Send for IoChannel<T> where
T: Send,
impl<T> Sync for IoChannel<T> where
T: Sync,
impl<T> Unpin for IoChannel<T> where
T: Unpin,
impl<T> UnwindSafe for IoChannel<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more