Struct ublox::CfgMsgSinglePortBuilder
source · pub struct CfgMsgSinglePortBuilder {
pub msg_class: u8,
pub msg_id: u8,
pub rate: u8,
}
Expand description
Set Message Rate the current port Struct that is used to construct packets, see the crate-level documentation for more information
Fields§
§msg_class: u8
§msg_id: u8
§rate: u8
Send rate on current Target
Implementations§
source§impl CfgMsgSinglePortBuilder
impl CfgMsgSinglePortBuilder
pub const PACKET_LEN: usize = 11usize
pub fn into_packet_bytes(self) -> [u8; 11]
source§impl CfgMsgSinglePortBuilder
impl CfgMsgSinglePortBuilder
pub fn set_rate_for<T: UbxPacketMeta>(rate: u8) -> Self
Trait Implementations§
source§impl From<CfgMsgSinglePortBuilder> for [u8; 11]
impl From<CfgMsgSinglePortBuilder> for [u8; 11]
source§fn from(x: CfgMsgSinglePortBuilder) -> Self
fn from(x: CfgMsgSinglePortBuilder) -> Self
Converts to this type from the input type.
source§impl UbxPacketCreator for CfgMsgSinglePortBuilder
impl UbxPacketCreator for CfgMsgSinglePortBuilder
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 CfgMsgSinglePortBuilder
impl Send for CfgMsgSinglePortBuilder
impl Sync for CfgMsgSinglePortBuilder
impl Unpin for CfgMsgSinglePortBuilder
impl UnwindSafe for CfgMsgSinglePortBuilder
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