pub struct BufferDestination {
pub buffer: Vec<u8>,
}Expand description
Destination implementation for writing YAML data to a memory buffer A memory buffer implementation for storing encoded JSON data as bytes. Provides functionality to write and manipulate byte content in memory.
Fields§
§buffer: Vec<u8>Internal vector storing the raw bytes
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Buffer
impl RefUnwindSafe for Buffer
impl Send for Buffer
impl Sync for Buffer
impl Unpin for Buffer
impl UnsafeUnpin for Buffer
impl UnwindSafe for Buffer
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