Trait acto_rs::elem::connectable::ConnectableYN
[−]
[src]
pub trait ConnectableYN { type InputValueA: Send; type InputErrorA: Send; type InputValueB: Send; type InputErrorB: Send; fn input_a(
&mut self,
n: ReceiverChannelId
) -> &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>; fn input_b(
&mut self,
n: ReceiverChannelId
) -> &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>; fn connect_a(
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>
) -> Result<(), ActorError> { ... } fn connect_b(
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>
) -> Result<(), ActorError> { ... } fn disconnect_a(
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>
) -> Result<(), ActorError> { ... } fn disconnect_b(
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>
) -> Result<(), ActorError> { ... } }
Associated Types
Required Methods
fn input_a(
&mut self,
n: ReceiverChannelId
) -> &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>
&mut self,
n: ReceiverChannelId
) -> &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>
fn input_b(
&mut self,
n: ReceiverChannelId
) -> &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>
&mut self,
n: ReceiverChannelId
) -> &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>
Provided Methods
fn connect_a(
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>
) -> Result<(), ActorError>
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>
) -> Result<(), ActorError>
fn connect_b(
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>
) -> Result<(), ActorError>
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>
) -> Result<(), ActorError>
fn disconnect_a(
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>
) -> Result<(), ActorError>
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueA, Self::InputErrorA>
) -> Result<(), ActorError>
fn disconnect_b(
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>
) -> Result<(), ActorError>
&mut self,
n: ReceiverChannelId,
other: &mut ChannelWrapper<Self::InputValueB, Self::InputErrorB>
) -> Result<(), ActorError>