Struct rpc_it::rpc::WriteBuffer
source · 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.
Trait Implementations§
source§impl Clone for WriteBuffer
impl Clone for WriteBuffer
source§fn clone(&self) -> WriteBuffer
fn clone(&self) -> WriteBuffer
Returns a copy 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 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