Trait hydro_lang::location::can_send::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§

Object Safety§

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