pub struct Proto23;Available on crate feature
ubx_proto23 only.Expand description
Tag for protocol 23 packets
Trait Implementations§
Source§impl UbxProtocol for Proto23
impl UbxProtocol for Proto23
Source§const MAX_PAYLOAD_LEN: u16 = 8_176u16
const MAX_PAYLOAD_LEN: u16 = 8_176u16
The maximum payload length supported by this protocol version.
Source§type PacketRef<'a> = PacketRef<'a>
type PacketRef<'a> = PacketRef<'a>
The protocol-specific PacketRef type. The
'a lifetime is tied to the input buffer.Source§fn match_packet(
class_id: u8,
msg_id: u8,
payload: &[u8],
) -> Result<Self::PacketRef<'_>, ParserError>
fn match_packet( class_id: u8, msg_id: u8, payload: &[u8], ) -> Result<Self::PacketRef<'_>, ParserError>
Matches a Class ID, Message ID, and payload to a specific packet type.
Auto Trait Implementations§
impl Freeze for Proto23
impl RefUnwindSafe for Proto23
impl Send for Proto23
impl Sync for Proto23
impl Unpin for Proto23
impl UnwindSafe for Proto23
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