pub struct MgaAckRef<'a>(/* private fields */);
Expand description
GNSS Assistance ACK UBX-MGA-ACK Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
source§impl<'a> MgaAckRef<'a>
impl<'a> MgaAckRef<'a>
pub fn as_bytes(&self) -> &[u8] ⓘ
sourcepub fn info_code_raw(&self) -> u8
pub fn info_code_raw(&self) -> u8
Provides greater information on what the receiver chose to do with the message contents. See MsgAckInfoCode.
sourcepub fn info_code(&self) -> MsgAckInfoCode
pub fn info_code(&self) -> MsgAckInfoCode
Provides greater information on what the receiver chose to do with the message contents. See MsgAckInfoCode.
sourcepub fn msg_payload_start(&self) -> [u8; 4]
pub fn msg_payload_start(&self) -> [u8; 4]
The first 4 bytes of the acknowledged message’s payload
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MgaAckRef<'a>
impl<'a> Send for MgaAckRef<'a>
impl<'a> Sync for MgaAckRef<'a>
impl<'a> Unpin for MgaAckRef<'a>
impl<'a> UnwindSafe for MgaAckRef<'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