Skip to main content

Io

Trait Io 

Source
pub(crate) trait Io:
    Read
    + Write
    + Unpin
    + 'static {
    // Provided method
    fn __hyper_type_id(&self) -> TypeId { ... }
}

Provided Methods§

Implementations§

Source§

impl dyn Io + Send

Source

fn __hyper_is<T: Io>(&self) -> bool

Source

fn __hyper_downcast<T: Io>(self: Box<Self>) -> Result<Box<T>, Box<Self>>

downcast a Box wrapped Type to a Box implemented by raw pointer cast.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Read + Write + Unpin + 'static> Io for T