Enum ethers_middleware::timelag::TimeLagError
source · pub enum TimeLagError<M>where
M: Middleware,{
MiddlewareError(M::Error),
Unsupported,
}Expand description
TimeLage Provider Errors
Variants
Trait Implementations
sourceimpl<M: Debug> Debug for TimeLagError<M>where
M: Middleware,
M::Error: Debug,
impl<M: Debug> Debug for TimeLagError<M>where
M: Middleware,
M::Error: Debug,
sourceimpl<M> Display for TimeLagError<M>where
M: Middleware,
impl<M> Display for TimeLagError<M>where
M: Middleware,
sourceimpl<M> Error for TimeLagError<M>where
M: Middleware,
Self: Debug + Display,
impl<M> Error for TimeLagError<M>where
M: Middleware,
Self: Debug + Display,
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl<M: Middleware> FromErr<<M as Middleware>::Error> for TimeLagError<M>
impl<M: Middleware> FromErr<<M as Middleware>::Error> for TimeLagError<M>
fn from(src: M::Error) -> TimeLagError<M>
Auto Trait Implementations
impl<M> RefUnwindSafe for TimeLagError<M>where
<M as Middleware>::Error: RefUnwindSafe,
impl<M> Send for TimeLagError<M>
impl<M> Sync for TimeLagError<M>
impl<M> Unpin for TimeLagError<M>where
<M as Middleware>::Error: Unpin,
impl<M> UnwindSafe for TimeLagError<M>where
<M as Middleware>::Error: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more