pub enum RuntimeFeatureStateError {
ConfiguredWithoutCapability,
ActiveWithoutConfiguration,
ObservedWithoutActivePath,
}Expand description
Stable validation errors for effective runtime feature state.
Variants§
ConfiguredWithoutCapability
Policy configured a capability that is absent from the binary.
ActiveWithoutConfiguration
The production path claimed an unconfigured capability.
ObservedWithoutActivePath
Request diagnostics claimed use of an inactive production path.
Trait Implementations§
Source§impl Clone for RuntimeFeatureStateError
impl Clone for RuntimeFeatureStateError
impl Copy for RuntimeFeatureStateError
Source§impl Debug for RuntimeFeatureStateError
impl Debug for RuntimeFeatureStateError
Source§impl Display for RuntimeFeatureStateError
impl Display for RuntimeFeatureStateError
impl Eq for RuntimeFeatureStateError
Source§impl Error for RuntimeFeatureStateError
impl Error for RuntimeFeatureStateError
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()
Source§impl PartialEq for RuntimeFeatureStateError
impl PartialEq for RuntimeFeatureStateError
impl StructuralPartialEq for RuntimeFeatureStateError
Auto Trait Implementations§
impl Freeze for RuntimeFeatureStateError
impl RefUnwindSafe for RuntimeFeatureStateError
impl Send for RuntimeFeatureStateError
impl Sync for RuntimeFeatureStateError
impl Unpin for RuntimeFeatureStateError
impl UnsafeUnpin for RuntimeFeatureStateError
impl UnwindSafe for RuntimeFeatureStateError
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