pub enum BlockingReadError {
ResponseBudgetExceeded {
limit: usize,
},
ReconnectRequired,
Client(ClientError),
}Expand description
Failure of one blocking attribute read.
Variants§
ResponseBudgetExceeded
The complete GET exchange exceeded its incoming APDU byte budget. Establish a fresh association before retrying.
ReconnectRequired
An earlier exchange interrupted this association.
Client(ClientError)
The upstream client or its transport returned an error. An explicit meter refusal or exception leaves the association usable.
Implementations§
Source§impl BlockingReadError
impl BlockingReadError
Sourcepub fn requires_reconnect(&self) -> bool
pub fn requires_reconnect(&self) -> bool
Whether to discard this association before issuing another request.
Trait Implementations§
Source§impl Debug for BlockingReadError
impl Debug for BlockingReadError
Source§impl Display for BlockingReadError
impl Display for BlockingReadError
Source§impl Error for BlockingReadError
impl Error for BlockingReadError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for BlockingReadError
impl !UnwindSafe for BlockingReadError
impl Freeze for BlockingReadError
impl Send for BlockingReadError
impl Sync for BlockingReadError
impl Unpin for BlockingReadError
impl UnsafeUnpin for BlockingReadError
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