pub enum RefreshError<R, E> {
Remapping(Error<E>),
Refresh(R),
}
Variants§
Trait Implementations§
Source§impl<R, E> Display for RefreshError<R, E>
impl<R, E> Display for RefreshError<R, E>
Source§impl<R, E> Error for RefreshError<R, E>
impl<R, E> Error for RefreshError<R, 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()
Auto Trait Implementations§
impl<R, E> Freeze for RefreshError<R, E>
impl<R, E> RefUnwindSafe for RefreshError<R, E>where
R: RefUnwindSafe,
E: RefUnwindSafe,
impl<R, E> Send for RefreshError<R, E>
impl<R, E> Sync for RefreshError<R, E>
impl<R, E> Unpin for RefreshError<R, E>
impl<R, E> UnwindSafe for RefreshError<R, E>where
R: UnwindSafe,
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