Struct spacetimedb_sats::buffer::CountWriter
source · pub struct CountWriter { /* private fields */ }
Expand description
A BufWriter
that only counts the bytes.
Implementations§
Trait Implementations§
source§impl BufWriter for CountWriter
impl BufWriter for CountWriter
source§impl Default for CountWriter
impl Default for CountWriter
source§fn default() -> CountWriter
fn default() -> CountWriter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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