[−][src]Struct rusty_junctions::patterns::unary::RecvPartialPattern
RecvChannel
partial Join Pattern.
Methods
impl<R> RecvPartialPattern<R> where
R: Any + Send,
[src]
R: Any + Send,
pub fn then_do<F>(self, f: F) where
F: Fn() -> R + Send + Clone + 'static,
[src]
F: Fn() -> R + Send + Clone + 'static,
Create full Join Pattern and send request to add it to Junction
.
Create a full Join Pattern by taking the channels that are part of
the partial pattern and adding a function to be executed when there
is at least one message sent on each channel. Attempt to add the
Join Pattern to the Junction
after creation.
Panics
Panics if it was not possible to send the request to add the newly
create Join Pattern to the Junction
.
Auto Trait Implementations
impl<R> !RefUnwindSafe for RecvPartialPattern<R>
impl<R> Send for RecvPartialPattern<R> where
R: Send,
R: Send,
impl<R> !Sync for RecvPartialPattern<R>
impl<R> Unpin for RecvPartialPattern<R> where
R: Unpin,
R: Unpin,
impl<R> !UnwindSafe for RecvPartialPattern<R>
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,
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.
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>,