[−][src]Trait lifeline::Bus
The bus carries
Required methods
fn capacity<Msg>(&self, capacity: usize) -> Result<(), AlreadyLinkedError> where
Msg: Message<Self> + 'static,
Msg: Message<Self> + 'static,
Returns the receiver on the first call, and
fn rx<Msg>(&self) -> Result<<Msg::Channel as Channel>::Rx, TakeChannelError> where
Msg: Message<Self> + 'static,
Msg: Message<Self> + 'static,
fn tx<Msg>(&self) -> Result<<Msg::Channel as Channel>::Tx, TakeChannelError> where
Msg: Message<Self> + 'static,
Msg: Message<Self> + 'static,
fn resource<Res>(&self) -> Result<Res, TakeResourceError> where
Res: Resource<Self>,
Res: Resource<Self>,
Implementors
impl<T> Bus for T where
T: DynBus,
[src]
T: DynBus,
fn rx<Msg>(&self) -> Result<<Msg::Channel as Channel>::Rx, TakeChannelError> where
Msg: Message<Self> + 'static,
[src]
Msg: Message<Self> + 'static,
fn tx<Msg>(&self) -> Result<<Msg::Channel as Channel>::Tx, TakeChannelError> where
Msg: Message<Self> + 'static,
[src]
Msg: Message<Self> + 'static,
fn capacity<Msg>(&self, capacity: usize) -> Result<(), AlreadyLinkedError> where
Msg: Message<Self> + 'static,
[src]
Msg: Message<Self> + 'static,
fn resource<Res>(&self) -> Result<Res, TakeResourceError> where
Res: Resource<Self>,
[src]
Res: Resource<Self>,