pub struct CountWriter { /* private fields */ }Implementations§
Source§impl CountWriter
impl CountWriter
Trait Implementations§
Source§impl Writer for CountWriter
impl Writer for CountWriter
fn write_u8(&mut self, _: u8) -> Result<()>
fn write_u16(&mut self, _: u16) -> Result<()>
fn write_u32(&mut self, _: u32) -> Result<()>
fn write_u64(&mut self, _: u64) -> Result<()>
fn write_bytes(&mut self, v: &[u8]) -> Result<()>
fn write_str(&mut self, v: &str) -> Result<()>
fn write_string(&mut self, v: &String) -> Result<()>
Auto Trait Implementations§
impl Freeze for CountWriter
impl RefUnwindSafe for CountWriter
impl Send for CountWriter
impl Sync for CountWriter
impl Unpin for CountWriter
impl UnwindSafe for CountWriter
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