pub enum DescribeProblem {
WrongRole(String),
NoModels,
DuplicateModel(String),
BadModel {
model: String,
member: &'static str,
},
BadLimits(&'static str),
}Expand description
Why a role.describe answer is not usable.
Variants§
WrongRole(String)
role is not classifier/v1.
NoModels
The answer lists no model.
DuplicateModel(String)
A model is listed twice.
BadModel
A model states a zero limit or a zero context, names no egress host, or allows more items than the module does. Names the model and member.
BadLimits(&'static str)
A module limit is zero.
Trait Implementations§
Source§impl Clone for DescribeProblem
impl Clone for DescribeProblem
Source§impl Debug for DescribeProblem
impl Debug for DescribeProblem
Source§impl Display for DescribeProblem
impl Display for DescribeProblem
impl Eq for DescribeProblem
Source§impl PartialEq for DescribeProblem
impl PartialEq for DescribeProblem
impl StructuralPartialEq for DescribeProblem
Auto Trait Implementations§
impl Freeze for DescribeProblem
impl RefUnwindSafe for DescribeProblem
impl Send for DescribeProblem
impl Sync for DescribeProblem
impl Unpin for DescribeProblem
impl UnsafeUnpin for DescribeProblem
impl UnwindSafe for DescribeProblem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.