[][src]Struct msgbus::rmb::Rmb

pub struct Rmb<'a> { /* fields omitted */ }

Methods

impl<'a> Rmb<'a>[src]

pub fn new(msgmgr: &'a mut MsgMgr<'a>) -> Rmb<'a>[src]

pub fn init(&mut self) -> Result<String, String>[src]

pub fn get_transport_names(&self) -> Result<Vec<String>, String>[src]

pub fn publish(
    &mut self,
    ch: Channel,
    msg: &'a dyn Msg
) -> Result<String, String>
[src]

pub fn subscribe(
    &mut self,
    ch: Channel,
    f: fn(_: Channel, _: &dyn Msg) -> Result<String, String>
) -> Result<String, String>
[src]

Auto Trait Implementations

impl<'a> !Send for Rmb<'a>

impl<'a> !Sync for Rmb<'a>

impl<'a> Unpin for Rmb<'a>

impl<'a> !RefUnwindSafe for Rmb<'a>

impl<'a> !UnwindSafe for Rmb<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]