pub trait IntoAsync: AsRawDescriptor { }
Expand description

Marker trait signifying that the implementor is suitable for use with cros_async. Examples of this include File, and base::net::UnixSeqpacket.

(Note: it’d be really nice to implement a TryFrom for any implementors, and remove our factory functions. Unfortunately https://github.com/rust-lang/rust/issues/50133 makes that too painful.)

Implementations on Foreign Types§

source§

impl IntoAsync for Tube

source§

impl IntoAsync for RecvTube

source§

impl IntoAsync for UnixSeqpacket

source§

impl IntoAsync for File

source§

impl IntoAsync for Timer

source§

impl IntoAsync for SendTube

Implementors§