[−][src]Struct timely_communication::allocator::zero_copy::push_pull::Pusher
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.
Methods
impl<T, P: BytesPush> Pusher<T, P>
[src]
pub fn new(
header: MessageHeader,
sender: Rc<RefCell<SendEndpoint<P>>>
) -> Pusher<T, P>
[src]
header: MessageHeader,
sender: Rc<RefCell<SendEndpoint<P>>>
) -> Pusher<T, P>
Creates a new Pusher
from a header and shared byte buffer.
Trait Implementations
Auto Trait Implementations
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,
T: Unpin,
impl<T, P> !UnwindSafe for Pusher<T, P>
impl<T, P> !RefUnwindSafe for Pusher<T, P>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,