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

Applies the AsyncIoCompat wrapper by value.

Applies the AsyncIoCompat wrapper by mutable reference.

Implementors