pub struct Attached { /* private fields */ }Implementations§
Source§impl Attached
impl Attached
pub fn new( write: impl AsyncWrite + Send + Unpin + 'static, read: impl AsyncRead + Send + Unpin + 'static, ) -> Self
pub fn control(self, channel: Io) -> Self
pub fn diagnostics(self, read: impl AsyncRead + Send + Unpin + 'static) -> Self
pub fn ended_by<F, U>(self, end: F) -> Self
pub fn ending(self, ending: Ending) -> Self
pub fn into_parts( self, ) -> (Box<dyn AsyncWrite + Send + Unpin>, Box<dyn AsyncRead + Send + Unpin>, Option<Io>, Option<Box<dyn AsyncRead + Send + Unpin>>, Option<Ending>)
Auto Trait Implementations§
impl !RefUnwindSafe for Attached
impl !Sync for Attached
impl !UnwindSafe for Attached
impl Freeze for Attached
impl Send for Attached
impl Unpin for Attached
impl UnsafeUnpin for Attached
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