Struct gear_wasm::elements::CountedWriter
source · pub struct CountedWriter<'a, W: 'a + Write> { /* private fields */ }
Expand description
Helper struct to write payload which is preceded by it’s own length in bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, W> RefUnwindSafe for CountedWriter<'a, W>where
W: RefUnwindSafe,
impl<'a, W> Send for CountedWriter<'a, W>where
W: Send,
impl<'a, W> Sync for CountedWriter<'a, W>where
W: Sync,
impl<'a, W> Unpin for CountedWriter<'a, W>
impl<'a, W> !UnwindSafe for CountedWriter<'a, W>
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