[−][src]Enum libmodbus::FunctionCode
Modbus function codes
Documentation source: https://en.wikipedia.org/wiki/Modbus#Supported_function_codes
Variants
0x01 Read Coils
0x02 Read Discrete Inputs
0x03 Read Multiple Holding Registers
0x04 Read Input Registers
0x05 Write Single Coil
0x06 Write Single Holding Register
0x07 Read Exception Status
0x08 Diagnostic
0x15 Write Multiple Coils
0x16 Write Multiple Holding Registers
0x17 Report Slave ID
0x22 Mask Write Register
0x23 Read/Write Multiple Registers
Trait Implementations
impl Clone for FunctionCode
[src]
fn clone(&self) -> FunctionCode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FunctionCode
[src]
impl Eq for FunctionCode
[src]
impl PartialEq<FunctionCode> for FunctionCode
[src]
fn eq(&self, other: &FunctionCode) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for FunctionCode
[src]
impl StructuralPartialEq for FunctionCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for FunctionCode
impl Send for FunctionCode
impl Sync for FunctionCode
impl Unpin for FunctionCode
impl UnwindSafe for FunctionCode
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,