pub struct Modbus {
pub probe_strict: bool,
}
Enable strict probing, such as only recognizing
public assigned function codes
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Returns a tuple containing the remaining unparsed data and the parsed
Message
.
Read more
Probes the input to recognize if the underlying bytes likely match this
protocol.
Read more
Type of message returned when parsing
Protocol name string
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.