Trait tokio_io_compat::CompatHelperTrait [−][src]
pub trait CompatHelperTrait {
fn tokio_io(self) -> AsyncIoCompat<Self>
where
Self: Sized;
fn tokio_io_mut(&mut self) -> AsyncIoCompat<&mut Self>;
}
Expand description
Helper trait that applies AsyncIoCompat
wrapper to std types.
Required methods
fn tokio_io(self) -> AsyncIoCompat<Self> where
Self: Sized,
fn tokio_io(self) -> AsyncIoCompat<Self> where
Self: Sized,
Applies the AsyncIoCompat
wrapper by value.
fn tokio_io_mut(&mut self) -> AsyncIoCompat<&mut Self>
fn tokio_io_mut(&mut self) -> AsyncIoCompat<&mut Self>
Applies the AsyncIoCompat
wrapper by mutable reference.