pub enum ProviderHealth {
Healthy,
Degraded,
Unavailable,
}Expand description
Provider health status.
Variants§
Implementations§
Source§impl ProviderHealth
impl ProviderHealth
Sourcepub fn is_available(&self) -> bool
pub fn is_available(&self) -> bool
Check if provider can be used.
Trait Implementations§
Source§impl Clone for ProviderHealth
impl Clone for ProviderHealth
Source§fn clone(&self) -> ProviderHealth
fn clone(&self) -> ProviderHealth
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 ProviderHealth
impl Debug for ProviderHealth
Source§impl Hash for ProviderHealth
impl Hash for ProviderHealth
Source§impl PartialEq for ProviderHealth
impl PartialEq for ProviderHealth
impl Copy for ProviderHealth
impl Eq for ProviderHealth
impl StructuralPartialEq for ProviderHealth
Auto Trait Implementations§
impl Freeze for ProviderHealth
impl RefUnwindSafe for ProviderHealth
impl Send for ProviderHealth
impl Sync for ProviderHealth
impl Unpin for ProviderHealth
impl UnwindSafe for ProviderHealth
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