Struct timely_communication::allocator::zero_copy::allocator::TcpAllocator
source · pub struct TcpAllocator<A: Allocate> { /* private fields */ }
Expand description
A TCP-based allocator for inter-process communication.
Trait Implementations§
source§impl<A: Allocate> Allocate for TcpAllocator<A>
impl<A: Allocate> Allocate for TcpAllocator<A>
source§fn allocate<T: Exchangeable>(
&mut self,
identifier: usize,
) -> (Vec<Box<dyn Push<T>>>, Box<dyn Pull<T>>)
fn allocate<T: Exchangeable>( &mut self, identifier: usize, ) -> (Vec<Box<dyn Push<T>>>, Box<dyn Pull<T>>)
Constructs several send endpoints and one receive endpoint.
source§fn events(&self) -> &Rc<RefCell<Vec<usize>>>
fn events(&self) -> &Rc<RefCell<Vec<usize>>>
A shared queue of communication events with channel identifier. Read more
source§fn pipeline<T: 'static>(
&mut self,
identifier: usize,
) -> (ThreadPusher<T>, ThreadPuller<T>)
fn pipeline<T: 'static>( &mut self, identifier: usize, ) -> (ThreadPusher<T>, ThreadPuller<T>)
Constructs a pipeline channel from the worker to itself. Read more
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