pub struct Io {
pub read: BufReader<Box<dyn Read + Send + Sync>>,
pub write: Box<dyn Write + Send + Sync>,
}Expand description
For platform independent I/O
Boxed for convenience.
Fields§
§read: BufReader<Box<dyn Read + Send + Sync>>§write: Box<dyn Write + Send + Sync>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Io
impl !UnwindSafe for Io
impl Freeze for Io
impl Send for Io
impl Sync for Io
impl Unpin for Io
impl UnsafeUnpin for Io
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more