Enum modbus::Coil
[−]
[src]
pub enum Coil {
On,
Off,
}Single bit status values, used in read or write coil functions
Variants
OnOffTrait Implementations
impl PartialEq for Coil[src]
fn eq(&self, __arg_0: &Coil) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for Coil[src]
impl Clone for Coil[src]
fn clone(&self) -> Coil
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more