pub struct MvuMessage<'a> {
pub unsolicited: bool,
pub command_type: MvuCommandType,
pub data: &'a [u8],
}Expand description
The MVU part of a vendor unique PDU: the u flag, the command type and the command specific data.
Fields§
§unsolicited: bool§command_type: MvuCommandType§data: &'a [u8]Implementations§
Source§impl<'a> MvuMessage<'a>
impl<'a> MvuMessage<'a>
Sourcepub fn from_pdu(pdu: &VendorUniquePdu<'a>) -> Result<Self, DecodeError>
pub fn from_pdu(pdu: &VendorUniquePdu<'a>) -> Result<Self, DecodeError>
The MVU message in a vendor unique PDU, if it is one.
Trait Implementations§
Source§impl<'a> Clone for MvuMessage<'a>
impl<'a> Clone for MvuMessage<'a>
impl<'a> Copy for MvuMessage<'a>
Source§impl<'a> Debug for MvuMessage<'a>
impl<'a> Debug for MvuMessage<'a>
impl<'a> Eq for MvuMessage<'a>
Source§impl<'a> PartialEq for MvuMessage<'a>
impl<'a> PartialEq for MvuMessage<'a>
impl<'a> StructuralPartialEq for MvuMessage<'a>
Auto Trait Implementations§
impl<'a> Forget for MvuMessage<'a>
impl<'a> Freeze for MvuMessage<'a>
impl<'a> Move for MvuMessage<'a>
impl<'a> RefUnwindSafe for MvuMessage<'a>
impl<'a> Send for MvuMessage<'a>
impl<'a> Sync for MvuMessage<'a>
impl<'a> Unpin for MvuMessage<'a>
impl<'a> UnsafeUnpin for MvuMessage<'a>
impl<'a> UnwindSafe for MvuMessage<'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