[−][src]Enum libmodbus::Exception
Modbus protocol exceptions
Documentation source: https://en.wikipedia.org/wiki/Modbus#Main_Modbus_exception_codes
Variants
(1) Illegal Function - Function code received in the query is not recognized or allowed by slave
(2) Illegal Data Address - Data address of some or all the required entities are not allowed or do not exist in slave
(3) Illegal Data Value - Value is not accepted by slave
(4) Slave Device Failure - Unrecoverable error occurred while slave was attempting to perform requested action
(5) Acknowledge - Slave has accepted request and is processing it, but a long duration of time is required. This response is returned to prevent a timeout error from occurring in the master. Master can next issue a Poll Program Complete message to determine whether processing is completed
(6) Slave Device Busy - Slave is engaged in processing a long-duration command. Master should retry later
(7) Negative Acknowledge - Slave cannot perform the programming functions. Master should request diagnostic or error information from slave
(8) Memory Parity Error - Slave detected a parity error in memory. Master can retry the request, but service may be required on the slave device
(9) Not defined
(10) Gateway Path Unavailable - Specialized for Modbus gateways. Indicates a misconfigured gateway
(11) Gateway Target Device Failed to Respond - Specialized for Modbus gateways. Sent when slave fails to respond
Trait Implementations
impl Clone for Exception
[src]
impl Copy for Exception
[src]
impl Debug for Exception
[src]
impl Eq for Exception
[src]
impl Hash for Exception
[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<Exception> for Exception
[src]
impl StructuralEq for Exception
[src]
impl StructuralPartialEq for Exception
[src]
Auto Trait Implementations
impl RefUnwindSafe for Exception
impl Send for Exception
impl Sync for Exception
impl Unpin for Exception
impl UnwindSafe for Exception
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>,