Struct parity_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
sourceimpl<'a, W: 'a + Write> CountedWriter<'a, W>
impl<'a, W: 'a + Write> CountedWriter<'a, W>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more