pub enum BatchReadError {
TagNotFound(String),
DataTypeMismatch {
expected: String,
actual: String,
},
Network(String),
Cip {
status: u8,
message: String,
},
TagPath(String),
Serialization(String),
Timeout,
Other(String),
}Expand description
Per-tag failure surfaced by a batched read.
Mirrors the variants of the upstream batch error so callers can branch on the specific
failure kind without depending on the backend transport types. Used as the typed source
of Error::BatchReadItem.
Variants§
TagNotFound(String)
DataTypeMismatch
Network(String)
Cip
TagPath(String)
Serialization(String)
Timeout
Other(String)
Trait Implementations§
Source§impl Clone for BatchReadError
impl Clone for BatchReadError
Source§fn clone(&self) -> BatchReadError
fn clone(&self) -> BatchReadError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchReadError
impl Debug for BatchReadError
Source§impl Display for BatchReadError
impl Display for BatchReadError
Source§impl Error for BatchReadError
impl Error for BatchReadError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<BatchError> for BatchReadError
impl From<BatchError> for BatchReadError
Source§fn from(value: BatchError) -> Self
fn from(value: BatchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BatchReadError
impl RefUnwindSafe for BatchReadError
impl Send for BatchReadError
impl Sync for BatchReadError
impl Unpin for BatchReadError
impl UnsafeUnpin for BatchReadError
impl UnwindSafe for BatchReadError
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