pub trait OptionType {
type Options<'b>: ?Sized;
}
pub trait Open<'a, 'b>: ErrorType + OptionType {
type Return;
fn open(self, options: &'b Self::Options<'b>) -> Result<Self::Return, Self::Error>
where
Self: Sized,
'b: 'a;
}
pub trait EasySocket: Write + Read {}
pub trait Write = embedded_io::Write;
pub trait Read = embedded_io::Read;
pub trait ErrorType = embedded_io::ErrorType;