Struct timely::communication::allocator::zero_copy::allocator::TcpAllocator
source · pub struct TcpAllocator<A>where
A: Allocate,{ /* private fields */ }
Expand description
A TCP-based allocator for inter-process communication.
Trait Implementations§
source§impl<A> Allocate for TcpAllocator<A>where
A: Allocate,
impl<A> Allocate for TcpAllocator<A>where
A: Allocate,
source§fn allocate<T>(
&mut self,
identifier: usize,
) -> (Vec<Box<dyn Push<T>>>, Box<dyn Pull<T>>)where
T: Exchangeable,
fn allocate<T>(
&mut self,
identifier: usize,
) -> (Vec<Box<dyn Push<T>>>, Box<dyn Pull<T>>)where
T: Exchangeable,
Constructs several send endpoints and one receive endpoint.
Auto Trait Implementations§
impl<A> Freeze for TcpAllocator<A>where
A: Freeze,
impl<A> !RefUnwindSafe for TcpAllocator<A>
impl<A> !Send for TcpAllocator<A>
impl<A> !Sync for TcpAllocator<A>
impl<A> Unpin for TcpAllocator<A>where
A: Unpin,
impl<A> !UnwindSafe for TcpAllocator<A>
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