pub struct IoChannel { /* private fields */ }Expand description
An in-memory byte channel connecting a writer and reader.
Implementations§
Source§impl IoChannel
impl IoChannel
Sourcepub fn bytes_written(&self) -> u64
pub fn bytes_written(&self) -> u64
Total bytes written.
Sourcepub fn bytes_read(&self) -> u64
pub fn bytes_read(&self) -> u64
Total bytes read.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IoChannel
impl RefUnwindSafe for IoChannel
impl Send for IoChannel
impl Sync for IoChannel
impl Unpin for IoChannel
impl UnsafeUnpin for IoChannel
impl UnwindSafe for IoChannel
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