[][src]Struct rusty_junctions::patterns::ternary::BidirPartialPattern

pub struct BidirPartialPattern<T, U, V, R> { /* fields omitted */ }

SendChannel & BidirChannel partial Join Pattern.

Methods

impl<T, U, V, R> BidirPartialPattern<T, U, V, R> where
    T: Any + Send,
    U: Any + Send,
    V: Any + Send,
    R: Any + Send
[src]

pub fn then_do<F>(self, f: F) where
    F: Fn(T, U, V) -> R + Send + Clone + 'static, 
[src]

Create full JoinPattern 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<T, U, V, R> !RefUnwindSafe for BidirPartialPattern<T, U, V, R>

impl<T, U, V, R> Send for BidirPartialPattern<T, U, V, R> where
    R: Send,
    T: Send,
    U: Send,
    V: Send

impl<T, U, V, R> !Sync for BidirPartialPattern<T, U, V, R>

impl<T, U, V, R> Unpin for BidirPartialPattern<T, U, V, R> where
    R: Unpin,
    T: Unpin,
    U: Unpin,
    V: Unpin

impl<T, U, V, R> !UnwindSafe for BidirPartialPattern<T, U, V, R>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.