pub struct Pusher<T, P: BytesPush> { /* private fields */ }
Expand description
An adapter into which one may push elements of type T
.
This pusher has a fixed MessageHeader, and access to a SharedByteBuffer which it uses to acquire buffers for serialization.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, P> Freeze for Pusher<T, P>
impl<T, P> !RefUnwindSafe for Pusher<T, P>
impl<T, P> !Send for Pusher<T, P>
impl<T, P> !Sync for Pusher<T, P>
impl<T, P> Unpin for Pusher<T, P>where
T: Unpin,
impl<T, P> !UnwindSafe for Pusher<T, P>
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