pub struct Message {
pub data: Vec<u8>,
pub topic: String,
}👎Deprecated since 0.3.0: use
async_broker insteadExpand description
Message returned by an object implementing the Subscribe trait
Fields§
§data: Vec<u8>👎Deprecated since 0.3.0: use
§async_broker insteadtopic: String👎Deprecated since 0.3.0: use
async_broker insteadTrait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more