pub enum RiskConfigError {
TooMany {
what: &'static str,
count: usize,
max: usize,
},
InvalidGroupId {
id: String,
},
DuplicateGroup {
id: String,
},
InvalidGroupSymbols {
id: String,
},
UnknownGroup {
policy: &'static str,
group: String,
},
InvalidValue {
policy: &'static str,
field: &'static str,
requirement: &'static str,
value: String,
},
}Expand description
A supervisor configuration the owner cannot run.
Variants§
Trait Implementations§
Source§impl Clone for RiskConfigError
impl Clone for RiskConfigError
Source§impl Debug for RiskConfigError
impl Debug for RiskConfigError
Source§impl Display for RiskConfigError
impl Display for RiskConfigError
Source§impl Error for RiskConfigError
impl Error for RiskConfigError
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 RiskConfigError
impl PartialEq for RiskConfigError
impl StructuralPartialEq for RiskConfigError
Auto Trait Implementations§
impl Freeze for RiskConfigError
impl RefUnwindSafe for RiskConfigError
impl Send for RiskConfigError
impl Sync for RiskConfigError
impl Unpin for RiskConfigError
impl UnsafeUnpin for RiskConfigError
impl UnwindSafe for RiskConfigError
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