[][src]Trait lifeline::dyn_bus::DynBus

pub trait DynBus: Bus {
    fn store_rx<Msg>(
        &self,
        rx: <Msg::Channel as Channel>::Rx
    ) -> Result<(), AlreadyLinkedError>
    where
        Msg: Message<Self> + 'static
;
fn store_tx<Msg>(
        &self,
        tx: <Msg::Channel as Channel>::Tx
    ) -> Result<(), AlreadyLinkedError>
    where
        Msg: Message<Self> + 'static
;
fn store_channel<Msg>(
        &self,
        rx: <Msg::Channel as Channel>::Rx,
        tx: <Msg::Channel as Channel>::Tx
    ) -> Result<(), AlreadyLinkedError>
    where
        Msg: Message<Self> + 'static
;
fn store_resource<R: Resource<Self>>(&self, resource: R);
fn storage(&self) -> &DynBusStorage<Self>; }

Required methods

fn store_rx<Msg>(
    &self,
    rx: <Msg::Channel as Channel>::Rx
) -> Result<(), AlreadyLinkedError> where
    Msg: Message<Self> + 'static, 

fn store_tx<Msg>(
    &self,
    tx: <Msg::Channel as Channel>::Tx
) -> Result<(), AlreadyLinkedError> where
    Msg: Message<Self> + 'static, 

fn store_channel<Msg>(
    &self,
    rx: <Msg::Channel as Channel>::Rx,
    tx: <Msg::Channel as Channel>::Tx
) -> Result<(), AlreadyLinkedError> where
    Msg: Message<Self> + 'static, 

fn store_resource<R: Resource<Self>>(&self, resource: R)

fn storage(&self) -> &DynBusStorage<Self>

Loading content...

Implementors

Loading content...