[−][src]Enum ether_dream::dac::LightEngine
The light engine state machine - the first of the three primary state machines described within the protocol.
Variants
In the case where the DAC is also used for thermal control of laser apparatus, this is the state that is entered after power-up.
Lasers are off but thermal control is still active.
An emergency stop has been triggered, either by an E-stop input on the DAC, an E-stop command over the network, or a fault such as over-temperature.
Methods
impl LightEngine
[src]
pub fn from_protocol(state: u8) -> Option<Self>
[src]
Create a LightEngine
enum from the lower-level protocol representation.
Returns None
if the given state
byte is not known.
pub fn to_protocol(&self) -> u8
[src]
Convert the LightEngine
enum to its lower-level protocol representation.
Trait Implementations
impl Clone for LightEngine
[src]
fn clone(&self) -> LightEngine
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LightEngine
[src]
impl Debug for LightEngine
[src]
impl Eq for LightEngine
[src]
impl Hash for LightEngine
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<LightEngine> for LightEngine
[src]
fn eq(&self, other: &LightEngine) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for LightEngine
[src]
impl StructuralPartialEq for LightEngine
[src]
Auto Trait Implementations
impl RefUnwindSafe for LightEngine
impl Send for LightEngine
impl Sync for LightEngine
impl Unpin for LightEngine
impl UnwindSafe for LightEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,