BoxedSplit

Type Alias BoxedSplit 

Source
pub type BoxedSplit = Split<Box<dyn ReadHalf>, Box<dyn WriteHalf>>;
Expand description

A boxed Split.

Aliased Type§

pub struct BoxedSplit {
    pub(super) read: Box<dyn ReadHalf>,
    pub(super) write: Box<dyn WriteHalf>,
}

Fields§

§read: Box<dyn ReadHalf>§write: Box<dyn WriteHalf>

Trait Implementations§

Source§

impl<S: Socket> From<S> for BoxedSplit

Source§

fn from(socket: S) -> Self

Converts to this type from the input type.