pub struct AdspAttentionPacket<'a> {
pub header: AdspPacket,
pub attention_code: u16,
pub data: &'a [u8],
}Expand description
An ADSP Attention data packet (out-of-band message)
Fields§
§header: AdspPacket§attention_code: u16§data: &'a [u8]Implementations§
Trait Implementations§
Source§impl<'a> Clone for AdspAttentionPacket<'a>
impl<'a> Clone for AdspAttentionPacket<'a>
Source§fn clone(&self) -> AdspAttentionPacket<'a>
fn clone(&self) -> AdspAttentionPacket<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdspAttentionPacket<'a>
impl<'a> Debug for AdspAttentionPacket<'a>
Source§impl<'a> PartialEq for AdspAttentionPacket<'a>
impl<'a> PartialEq for AdspAttentionPacket<'a>
Source§fn eq(&self, other: &AdspAttentionPacket<'a>) -> bool
fn eq(&self, other: &AdspAttentionPacket<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Eq for AdspAttentionPacket<'a>
impl<'a> StructuralPartialEq for AdspAttentionPacket<'a>
Auto Trait Implementations§
impl<'a> Freeze for AdspAttentionPacket<'a>
impl<'a> RefUnwindSafe for AdspAttentionPacket<'a>
impl<'a> Send for AdspAttentionPacket<'a>
impl<'a> Sync for AdspAttentionPacket<'a>
impl<'a> Unpin for AdspAttentionPacket<'a>
impl<'a> UnsafeUnpin for AdspAttentionPacket<'a>
impl<'a> UnwindSafe for AdspAttentionPacket<'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