pub enum LookupRunError<E> {
Lookup(LookupError),
Query(E),
TimedOut,
UnexpectedResponder(LookupKey),
}Expand description
Failure produced while the shared engine is driving a transport adapter.
Variants§
Lookup(LookupError)
The lookup state machine rejected an operation.
Query(E)
The transport adapter failed the complete lookup.
TimedOut
The overall deadline elapsed before the lookup completed.
UnexpectedResponder(LookupKey)
An adapter returned an outcome for a peer outside the active batch or returned more than one outcome for the same peer.
Trait Implementations§
Source§impl<E: Debug> Debug for LookupRunError<E>
impl<E: Debug> Debug for LookupRunError<E>
Source§impl<E: Display> Display for LookupRunError<E>
impl<E: Display> Display for LookupRunError<E>
Source§impl<E: Error + 'static> Error for LookupRunError<E>
impl<E: Error + 'static> Error for LookupRunError<E>
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<E> From<LookupError> for LookupRunError<E>
impl<E> From<LookupError> for LookupRunError<E>
Source§fn from(error: LookupError) -> Self
fn from(error: LookupError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for LookupRunError<E>where
E: Freeze,
impl<E> RefUnwindSafe for LookupRunError<E>where
E: RefUnwindSafe,
impl<E> Send for LookupRunError<E>where
E: Send,
impl<E> Sync for LookupRunError<E>where
E: Sync,
impl<E> Unpin for LookupRunError<E>where
E: Unpin,
impl<E> UnsafeUnpin for LookupRunError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for LookupRunError<E>where
E: UnwindSafe,
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