pub struct EmergencyStop;Expand description
Causes the light engine to enter the E-Stop state, regardless of its previous state.
This command is always ACKed.
Note: Any unrecognised command will also be treated as E-Stop. However, software should not send undefined commands deliberately, since they may be defined in the future.
Trait Implementations§
Source§impl Clone for EmergencyStop
impl Clone for EmergencyStop
Source§fn clone(&self) -> EmergencyStop
fn clone(&self) -> EmergencyStop
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 Command for EmergencyStop
impl Command for EmergencyStop
Source§const START_BYTE: u8 = 0u8
const START_BYTE: u8 = 0u8
The starting byte of the command.
Source§fn start_byte(&self) -> u8
fn start_byte(&self) -> u8
A provided method for producing the start byte. Useful for trait objects.
Source§impl Debug for EmergencyStop
impl Debug for EmergencyStop
Source§impl<'a> From<EmergencyStop> for Command<'a>
impl<'a> From<EmergencyStop> for Command<'a>
Source§fn from(command: EmergencyStop) -> Self
fn from(command: EmergencyStop) -> Self
Converts to this type from the input type.
Source§impl Hash for EmergencyStop
impl Hash for EmergencyStop
Source§impl PartialEq for EmergencyStop
impl PartialEq for EmergencyStop
Source§impl ReadFromBytes for EmergencyStop
impl ReadFromBytes for EmergencyStop
Source§fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
Read the command from bytes.
Source§impl SizeBytes for EmergencyStop
impl SizeBytes for EmergencyStop
const SIZE_BYTES: usize = 1usize
Source§impl WriteToBytes for EmergencyStop
impl WriteToBytes for EmergencyStop
Source§fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
Write the command to bytes.
impl Copy for EmergencyStop
impl Eq for EmergencyStop
impl StructuralPartialEq for EmergencyStop
Auto Trait Implementations§
impl Freeze for EmergencyStop
impl RefUnwindSafe for EmergencyStop
impl Send for EmergencyStop
impl Sync for EmergencyStop
impl Unpin for EmergencyStop
impl UnwindSafe for EmergencyStop
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