[−][src]Struct timely_communication::allocator::process::Process
An allocator for inter-thread, intra-process communication
Methods
impl Process
[src]
pub fn inner<'a>(&'a mut self) -> &'a mut Thread
[src]
Access the wrapped inner allocator.
pub fn new_vector(peers: usize) -> Vec<ProcessBuilder>
[src]
Allocate a list of connected intra-process allocators.
Trait Implementations
impl Allocate for Process
[src]
fn index(&self) -> usize
[src]
fn peers(&self) -> usize
[src]
fn allocate<T: Any + Send + Sync + 'static>(
&mut self,
identifier: usize
) -> (Vec<Box<dyn Push<Message<T>>>>, Box<dyn Pull<Message<T>>>)
[src]
&mut self,
identifier: usize
) -> (Vec<Box<dyn Push<Message<T>>>>, Box<dyn Pull<Message<T>>>)
fn events(&self) -> &Rc<RefCell<VecDeque<(usize, Event)>>>
[src]
fn await_events(&self, duration: Option<Duration>)
[src]
fn receive(&mut self)
[src]
fn release(&mut self)
[src]
fn pipeline<T: 'static>(
&mut self,
identifier: usize
) -> (ThreadPusher<Message<T>>, ThreadPuller<Message<T>>)
[src]
&mut self,
identifier: usize
) -> (ThreadPusher<Message<T>>, ThreadPuller<Message<T>>)
Auto Trait Implementations
impl !Send for Process
impl !Sync for Process
impl Unpin for Process
impl !UnwindSafe for Process
impl !RefUnwindSafe for Process
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,