pub enum TrajectoryCommand {
Closed = 0,
PausePlanning = 1,
StartContinue = 2,
ClearCurrent = 3,
ClearAll = 4,
GetCurrentPlanning = 5,
Terminate = 6,
Transmit = 7,
TransmitEnd = 8,
}Expand description
轨迹指令
Variants§
Closed = 0
关闭
PausePlanning = 1
暂停当前规划
StartContinue = 2
开始/继续当前轨迹
ClearCurrent = 3
清除当前轨迹
ClearAll = 4
清除所有轨迹
GetCurrentPlanning = 5
获取当前规划轨迹
Terminate = 6
终止执行
Transmit = 7
轨迹传输
TransmitEnd = 8
轨迹传输结束
Trait Implementations§
Source§impl Clone for TrajectoryCommand
impl Clone for TrajectoryCommand
Source§fn clone(&self) -> TrajectoryCommand
fn clone(&self) -> TrajectoryCommand
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 TrajectoryCommand
impl Debug for TrajectoryCommand
Source§impl Default for TrajectoryCommand
impl Default for TrajectoryCommand
Source§fn default() -> TrajectoryCommand
fn default() -> TrajectoryCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for TrajectoryCommand
impl PartialEq for TrajectoryCommand
Source§impl TryFrom<u8> for TrajectoryCommand
impl TryFrom<u8> for TrajectoryCommand
Source§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
Source§fn try_from(
value: u8,
) -> Result<TrajectoryCommand, <TrajectoryCommand as TryFrom<u8>>::Error>
fn try_from( value: u8, ) -> Result<TrajectoryCommand, <TrajectoryCommand as TryFrom<u8>>::Error>
Performs the conversion.
impl Copy for TrajectoryCommand
impl Eq for TrajectoryCommand
impl StructuralPartialEq for TrajectoryCommand
Auto Trait Implementations§
impl Freeze for TrajectoryCommand
impl RefUnwindSafe for TrajectoryCommand
impl Send for TrajectoryCommand
impl Sync for TrajectoryCommand
impl Unpin for TrajectoryCommand
impl UnwindSafe for TrajectoryCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more