pub struct WriteBuffer { /* private fields */ }Expand description
Reused buffer over multiple RPC request/responses
To minimize the memory allocation during sender payload serialization, reuse this buffer over multiple RPC request/notification.
Implementations§
Trait Implementations§
Source§impl Clone for WriteBuffer
impl Clone for WriteBuffer
Source§fn clone(&self) -> WriteBuffer
fn clone(&self) -> WriteBuffer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WriteBuffer
impl Debug for WriteBuffer
Source§impl Default for WriteBuffer
impl Default for WriteBuffer
Source§fn default() -> WriteBuffer
fn default() -> WriteBuffer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WriteBuffer
impl RefUnwindSafe for WriteBuffer
impl Send for WriteBuffer
impl Sync for WriteBuffer
impl Unpin for WriteBuffer
impl UnwindSafe for WriteBuffer
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