pub(super) struct Writer {
bytes: Vec<u8>,
requested_capacity: usize,
}
Fields§
§bytes: Vec<u8>
§requested_capacity: usize
Implementations§
source§impl Writer
impl Writer
pub(super) fn with_capacity(capacity: LengthMeasurement) -> Self
Trait Implementations§
source§impl Accumulator for Writer
impl Accumulator for Writer
fn write_byte(&mut self, value: u8)
fn write_bytes(&mut self, value: &[u8])
Auto Trait Implementations§
impl Freeze for Writer
impl RefUnwindSafe for Writer
impl Send for Writer
impl Sync for Writer
impl Unpin for Writer
impl UnwindSafe for Writer
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