pub enum ExpiryGetError {
PoisonedLock(String),
NotInitialized,
InnerFutureFailed(String),
UpdateFailed(String),
}Expand description
Various internal errors.
Variants§
PoisonedLock(String)
Internal Mutex or RwLock is poisoned.
NotInitialized
First get happened before initialization. This must not happen.
InnerFutureFailed(String)
Something went wrong during update. Maybe a timeout or invalid data.
UpdateFailed(String)
Trait Implementations§
Source§impl Clone for ExpiryGetError
impl Clone for ExpiryGetError
Source§fn clone(&self) -> ExpiryGetError
fn clone(&self) -> ExpiryGetError
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 ExpiryGetError
impl Debug for ExpiryGetError
Source§impl Display for ExpiryGetError
impl Display for ExpiryGetError
Source§impl Error for ExpiryGetError
impl Error for ExpiryGetError
1.30.0 · 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 Freeze for ExpiryGetError
impl RefUnwindSafe for ExpiryGetError
impl Send for ExpiryGetError
impl Sync for ExpiryGetError
impl Unpin for ExpiryGetError
impl UnwindSafe for ExpiryGetError
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