pub struct SendMsg<'a> {
pub buf: &'a [u8],
pub path: &'static str,
}Expand description
A message to be sent TO the Broker, FROM the Client
Fields§
§buf: &'a [u8]§path: &'static strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SendMsg<'a>
impl<'a> RefUnwindSafe for SendMsg<'a>
impl<'a> Send for SendMsg<'a>
impl<'a> Sync for SendMsg<'a>
impl<'a> Unpin for SendMsg<'a>
impl<'a> UnwindSafe for SendMsg<'a>
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