pub enum WorkErrorClass {
LocalProgrammingError,
LocalResourceError,
RemoteError,
TransportError,
Timeout,
Fatal,
Unknown,
}Expand description
Broad classification of failure domains.
Variants§
LocalProgrammingError
Bug or invalid usage in local application code.
LocalResourceError
Local resource exhaustion or QP teardown.
RemoteError
Error reported by the remote peer.
TransportError
Transport-level retry or link failure.
Timeout
Timeout waiting for a response.
Fatal
Fatal device or QP error.
Unknown
Uncategorized or unknown failure.
Trait Implementations§
Source§impl Clone for WorkErrorClass
impl Clone for WorkErrorClass
Source§fn clone(&self) -> WorkErrorClass
fn clone(&self) -> WorkErrorClass
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkErrorClass
impl Debug for WorkErrorClass
impl Copy for WorkErrorClass
Auto Trait Implementations§
impl Freeze for WorkErrorClass
impl RefUnwindSafe for WorkErrorClass
impl Send for WorkErrorClass
impl Sync for WorkErrorClass
impl Unpin for WorkErrorClass
impl UnsafeUnpin for WorkErrorClass
impl UnwindSafe for WorkErrorClass
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