Trait CanSend

Source
pub trait CanSend<'a, To: Location<'a>>: Location<'a> {
    type In<T>;
    type Out<T>;
    type OutStrongestOrder<InOrder>;

    // Required methods
    fn is_demux() -> bool;
    fn tagged_type() -> Option<Type>;
}

Required Associated Types§

Source

type In<T>

Source

type Out<T>

Source

type OutStrongestOrder<InOrder>

Given the ordering guarantees of the input, determines the strongest possible ordering guarantees of the output.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, C1, C2> CanSend<'a, Cluster<'a, C2>> for Cluster<'a, C1>

Source§

type In<T> = (ClusterId<C2>, T)

Source§

type Out<T> = (ClusterId<C1>, T)

Source§

type OutStrongestOrder<InOrder> = NoOrder

Source§

impl<'a, C1, P2> CanSend<'a, Process<'a, P2>> for Cluster<'a, C1>

Source§

type In<T> = T

Source§

type Out<T> = (ClusterId<C1>, T)

Source§

type OutStrongestOrder<InOrder> = NoOrder

Source§

impl<'a, P1, C2> CanSend<'a, Cluster<'a, C2>> for Process<'a, P1>

Source§

type In<T> = (ClusterId<C2>, T)

Source§

type Out<T> = T

Source§

type OutStrongestOrder<InOrder> = InOrder

Source§

impl<'a, P1, E2> CanSend<'a, ExternalProcess<'a, E2>> for Process<'a, P1>

Source§

type In<T> = T

Source§

type Out<T> = T

Source§

type OutStrongestOrder<InOrder> = InOrder

Source§

impl<'a, P1, P2> CanSend<'a, Process<'a, P2>> for Process<'a, P1>

Source§

type In<T> = T

Source§

type Out<T> = T

Source§

type OutStrongestOrder<InOrder> = InOrder