pub enum ProviderMode {
Normal,
Degraded,
LocalOnly,
}Expand description
How the gateway is currently able to serve. Degraded and LocalOnly are situations the model should plan around, so they are reported rather than hidden behind a retry.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProviderMode
impl Clone for ProviderMode
impl Copy for ProviderMode
Source§impl Debug for ProviderMode
impl Debug for ProviderMode
impl Eq for ProviderMode
Source§impl PartialEq for ProviderMode
impl PartialEq for ProviderMode
impl StructuralPartialEq for ProviderMode
Auto Trait Implementations§
impl Freeze for ProviderMode
impl RefUnwindSafe for ProviderMode
impl Send for ProviderMode
impl Sync for ProviderMode
impl Unpin for ProviderMode
impl UnsafeUnpin for ProviderMode
impl UnwindSafe for ProviderMode
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