Trait may::io::SplitIo

source ·
pub trait SplitIo {
    // Required method
    fn split(self) -> Result<(SplitReader<Self>, SplitWriter<Self>)>
       where Self: Read + Write + Sized;
}
Expand description

This is trait that split an io obj into two parts one is for read operation, another is for write operation

Required Methods§

source

fn split(self) -> Result<(SplitReader<Self>, SplitWriter<Self>)>
where Self: Read + Write + Sized,

split the io into read and write part

Implementors§