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