pub struct WirelessFrame<'a> {
pub function: Function,
pub manufacturer_id: ManufacturerId,
pub data: &'a [u8],
}Fields§
§function: Function§manufacturer_id: ManufacturerId§data: &'a [u8]Trait Implementations§
Source§impl<'a> Clone for WirelessFrame<'a>
impl<'a> Clone for WirelessFrame<'a>
Source§fn clone(&self) -> WirelessFrame<'a>
fn clone(&self) -> WirelessFrame<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for WirelessFrame<'a>
impl<'a> Debug for WirelessFrame<'a>
Source§impl<'a> PartialEq for WirelessFrame<'a>
impl<'a> PartialEq for WirelessFrame<'a>
Source§impl<'a> TryFrom<&'a [u8]> for WirelessFrame<'a>
impl<'a> TryFrom<&'a [u8]> for WirelessFrame<'a>
Source§type Error = FrameError
type Error = FrameError
The type returned in the event of a conversion error.
Source§fn try_from(data: &'a [u8]) -> Result<WirelessFrame<'a>, FrameError>
fn try_from(data: &'a [u8]) -> Result<WirelessFrame<'a>, FrameError>
Performs the conversion.
impl<'a> Copy for WirelessFrame<'a>
impl<'a> StructuralPartialEq for WirelessFrame<'a>
Auto Trait Implementations§
impl<'a> Freeze for WirelessFrame<'a>
impl<'a> RefUnwindSafe for WirelessFrame<'a>
impl<'a> Send for WirelessFrame<'a>
impl<'a> Sync for WirelessFrame<'a>
impl<'a> Unpin for WirelessFrame<'a>
impl<'a> UnsafeUnpin for WirelessFrame<'a>
impl<'a> UnwindSafe for WirelessFrame<'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