Struct ublox::CfgMsgAllPortsBuilder
source · pub struct CfgMsgAllPortsBuilder {
pub msg_class: u8,
pub msg_id: u8,
pub rates: [u8; 6],
}
Expand description
Set Message rate configuration Send rate is relative to the event a message is registered on. For example, if the rate of a navigation message is set to 2, the message is sent every second navigation solution Struct that is used to construct packets, see the crate-level documentation for more information
Fields§
§msg_class: u8
§msg_id: u8
§rates: [u8; 6]
Send rate on I/O Port (6 Ports)
Implementations§
source§impl CfgMsgAllPortsBuilder
impl CfgMsgAllPortsBuilder
pub const PACKET_LEN: usize = 16usize
pub fn into_packet_bytes(self) -> [u8; 16]
source§impl CfgMsgAllPortsBuilder
impl CfgMsgAllPortsBuilder
pub fn set_rate_for<T: UbxPacketMeta>(rates: [u8; 6]) -> Self
Trait Implementations§
source§impl From<CfgMsgAllPortsBuilder> for [u8; 16]
impl From<CfgMsgAllPortsBuilder> for [u8; 16]
source§fn from(x: CfgMsgAllPortsBuilder) -> Self
fn from(x: CfgMsgAllPortsBuilder) -> Self
Converts to this type from the input type.
source§impl UbxPacketCreator for CfgMsgAllPortsBuilder
impl UbxPacketCreator for CfgMsgAllPortsBuilder
source§fn create_packet<T: MemWriter>(
self,
out: &mut T
) -> Result<(), MemWriterError<T::Error>>
fn create_packet<T: MemWriter>( self, out: &mut T ) -> Result<(), MemWriterError<T::Error>>
Create packet and store bytes sequence to somewhere using
out
Auto Trait Implementations§
impl RefUnwindSafe for CfgMsgAllPortsBuilder
impl Send for CfgMsgAllPortsBuilder
impl Sync for CfgMsgAllPortsBuilder
impl Unpin for CfgMsgAllPortsBuilder
impl UnwindSafe for CfgMsgAllPortsBuilder
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