Trait interprocess::bound_util::RefTokioAsyncRead
source · pub trait RefTokioAsyncRead {
// Required method
fn as_tokio_async_read(&self) -> Self::Read<'_>;
}
Expand description
Tokio’s AsyncRead
by reference.
Required Methods§
sourcefn as_tokio_async_read(&self) -> Self::Read<'_>
fn as_tokio_async_read(&self) -> Self::Read<'_>
Returns self
with the guarantee that &Self
implements TokioAsyncRead
encoded in a way which is visible to Rust’s type system.
Object Safety§
This trait is not object safe.