Enum sunspec::WritePointError
source · pub enum WritePointError {
IO(Error),
ValueTooLarge,
}Expand description
This error is returned if there was an error while writing data to a point.
Variants§
IO(Error)
I/O error occured. Please note that all errors returned by tokio-modbus
are stored inside this I/O error.
ValueTooLarge
The encoded value was too large for the point.
Trait Implementations§
source§impl Debug for WritePointError
impl Debug for WritePointError
source§impl Display for WritePointError
impl Display for WritePointError
source§impl Error for WritePointError
impl Error for WritePointError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for WritePointError
impl Send for WritePointError
impl Sync for WritePointError
impl Unpin for WritePointError
impl !UnwindSafe for WritePointError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more