Struct sbp::messages::piksi::MsgCommandReq [−][src]
pub struct MsgCommandReq {
pub sender_id: Option<u16>,
pub sequence: u32,
pub command: SbpString<Vec<u8>, NullTerminated>,
}
Expand description
Execute a command (host => device)
Request the recipient to execute an command. Output will be sent in MSG_LOG messages, and the exit code will be returned with MSG_COMMAND_RESP.
Fields
sender_id: Option<u16>
The message sender_id
sequence: u32
Sequence number
command: SbpString<Vec<u8>, NullTerminated>
Command line to execute
Trait Implementations
The message type.
The message name.
Performs the conversion.
Get the message name.
Get the message type.
Set the sender id.
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgCommandReq
impl Send for MsgCommandReq
impl Sync for MsgCommandReq
impl Unpin for MsgCommandReq
impl UnwindSafe for MsgCommandReq
Blanket Implementations
Mutably borrows from an owned value. Read more