Struct sbp::messages::system::msg_csac_telemetry::MsgCsacTelemetry
source · [−]pub struct MsgCsacTelemetry {
pub sender_id: Option<u16>,
pub id: u8,
pub telemetry: SbpString<Vec<u8>, Unterminated>,
}
Expand description
Experimental telemetry message
The CSAC telemetry message has an implementation defined telemetry string from a device. It is not produced or available on general Swift Products. It is intended to be a low rate message for status purposes.
Fields
sender_id: Option<u16>
The message sender_id
id: u8
Index representing the type of telemetry in use. It is implementation defined.
telemetry: SbpString<Vec<u8>, Unterminated>
Comma separated list of values as defined by the index
Trait Implementations
sourceimpl Clone for MsgCsacTelemetry
impl Clone for MsgCsacTelemetry
sourcefn clone(&self) -> MsgCsacTelemetry
fn clone(&self) -> MsgCsacTelemetry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ConcreteMessage for MsgCsacTelemetry
impl ConcreteMessage for MsgCsacTelemetry
sourceconst MESSAGE_TYPE: u16 = 65_284u16
const MESSAGE_TYPE: u16 = 65_284u16
The message type.
sourceconst MESSAGE_NAME: &'static str = "MSG_CSAC_TELEMETRY"
const MESSAGE_NAME: &'static str = "MSG_CSAC_TELEMETRY"
The message name.
sourceimpl Debug for MsgCsacTelemetry
impl Debug for MsgCsacTelemetry
sourceimpl From<MsgCsacTelemetry> for Sbp
impl From<MsgCsacTelemetry> for Sbp
sourcefn from(msg: MsgCsacTelemetry) -> Self
fn from(msg: MsgCsacTelemetry) -> Self
Converts to this type from the input type.
sourceimpl SbpMessage for MsgCsacTelemetry
impl SbpMessage for MsgCsacTelemetry
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 MsgCsacTelemetry
impl Send for MsgCsacTelemetry
impl Sync for MsgCsacTelemetry
impl Unpin for MsgCsacTelemetry
impl UnwindSafe for MsgCsacTelemetry
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