pub trait Split {
type R;
type W;
// Required method
fn split(self) -> (Self::R, Self::W);
}
Expand description
split something into two parts
pub trait Split {
type R;
type W;
// Required method
fn split(self) -> (Self::R, Self::W);
}
split something into two parts