pub enum CommandReply {
GetValues(Values),
GetValuesSelective(Values),
}Expand description
Reply messages received from the VESC in response to commands.
These represent the various types of responses that can be received from the controller after sending commands.
Variants§
GetValues(Values)
Complete telemetry data in response to Command::GetValues. Contains
all available sensor readings and status information.
GetValuesSelective(Values)
Selective telemetry data in response to Command::GetValuesSelective.
Contains only the data fields that were requested via the
ValuesMask. Non-requested fields will have default values.
Trait Implementations§
Source§impl Clone for CommandReply
impl Clone for CommandReply
Source§fn clone(&self) -> CommandReply
fn clone(&self) -> CommandReply
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandReply
impl Debug for CommandReply
impl Copy for CommandReply
Auto Trait Implementations§
impl Freeze for CommandReply
impl RefUnwindSafe for CommandReply
impl Send for CommandReply
impl Sync for CommandReply
impl Unpin for CommandReply
impl UnwindSafe for CommandReply
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