pub struct MsgOsr {
pub sender_id: Option<u16>,
pub header: ObservationHeader,
pub obs: Vec<PackedOsrContent>,
}
Expand description
OSR corrections
The OSR message contains network corrections in an observation-like format.
Fields
sender_id: Option<u16>
The message sender_id
header: ObservationHeader
Header of a GPS observation message
obs: Vec<PackedOsrContent>
Network correction for a satellite signal.
Trait Implementations
sourceimpl ConcreteMessage for MsgOsr
impl ConcreteMessage for MsgOsr
sourceconst MESSAGE_TYPE: u16 = 1_600u16
const MESSAGE_TYPE: u16 = 1_600u16
The message type.
sourceconst MESSAGE_NAME: &'static str = "MSG_OSR"
const MESSAGE_NAME: &'static str = "MSG_OSR"
The message name.
sourceimpl SbpMessage for MsgOsr
impl SbpMessage for MsgOsr
sourcefn message_name(&self) -> &'static str
fn message_name(&self) -> &'static str
Get the message name.
sourcefn message_type(&self) -> u16
fn message_type(&self) -> u16
Get the message type.
sourcefn set_sender_id(&mut self, new_id: u16)
fn set_sender_id(&mut self, new_id: u16)
Set the sender id.
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgOsr
impl Send for MsgOsr
impl Sync for MsgOsr
impl Unpin for MsgOsr
impl UnwindSafe for MsgOsr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more