pub enum Function<'a> {
ReadCoils(u16, u16),
ReadDiscreteInputs(u16, u16),
ReadHoldingRegisters(u16, u16),
ReadInputRegisters(u16, u16),
WriteSingleCoil(u16, u16),
WriteSingleRegister(u16, u16),
WriteMultipleCoils(u16, u16, &'a [u8]),
WriteMultipleRegisters(u16, u16, &'a [u8]),
}
Tuple Fields of ReadCoils
Tuple Fields of ReadHoldingRegisters
Tuple Fields of WriteSingleCoil
Tuple Fields of WriteSingleRegister
Tuple Fields of WriteMultipleCoils
Tuple Fields of WriteMultipleRegisters
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<T> UnsafeAny for T where
T: Any,