pub struct Frame {
pub kind: Kind,
pub subsystem: u8,
pub id: u8,
pub data: Vec<u8>,
}Expand description
One MT frame.
Fields§
§kind: KindFrame type.
subsystem: u8Subsystem (see crate::ids::subsystem).
id: u8Command id within the subsystem.
data: Vec<u8>Data, at most MAX_DATA bytes.
Implementations§
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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