pub trait Split {
    type R;
    type W;
    fn split(self) -> (Self::R, Self::W);
}
Expand description

split something into two parts

Associated Types

read half type

write half type

Required methods

consume and return parts

Implementations on Foreign Types

Implementors