pub struct Envelope {
pub src: BusAddr,
pub type_id: u8,
pub raw: Vec<u8>,
pub message: Message,
}Expand description
A decoded device message with its source bus address and raw payload.
Fields§
§src: BusAddr§type_id: u8Wire message type ID (e.g. 0xD4).
raw: Vec<u8>Unstuffed payload bytes (before decode).
message: MessageTrait Implementations§
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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