pub enum PlanRiskKind {
AmbiguousInput,
MissingContext,
UnsafeAction,
ToolFailure,
TimeLimit,
CostLimit,
Unknown,
}Variants§
Implementations§
Source§impl PlanRiskKind
impl PlanRiskKind
Trait Implementations§
Source§impl Clone for PlanRiskKind
impl Clone for PlanRiskKind
Source§fn clone(&self) -> PlanRiskKind
fn clone(&self) -> PlanRiskKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlanRiskKind
impl Debug for PlanRiskKind
Source§impl Display for PlanRiskKind
impl Display for PlanRiskKind
Source§impl FromStr for PlanRiskKind
impl FromStr for PlanRiskKind
Source§type Err = PlanningError
type Err = PlanningError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<PlanRiskKind, <PlanRiskKind as FromStr>::Err>
fn from_str(value: &str) -> Result<PlanRiskKind, <PlanRiskKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PlanRiskKind
impl Hash for PlanRiskKind
Source§impl Ord for PlanRiskKind
impl Ord for PlanRiskKind
Source§fn cmp(&self, other: &PlanRiskKind) -> Ordering
fn cmp(&self, other: &PlanRiskKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PlanRiskKind
impl PartialEq for PlanRiskKind
Source§fn eq(&self, other: &PlanRiskKind) -> bool
fn eq(&self, other: &PlanRiskKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PlanRiskKind
impl PartialOrd for PlanRiskKind
impl Copy for PlanRiskKind
impl Eq for PlanRiskKind
impl StructuralPartialEq for PlanRiskKind
Auto Trait Implementations§
impl Freeze for PlanRiskKind
impl RefUnwindSafe for PlanRiskKind
impl Send for PlanRiskKind
impl Sync for PlanRiskKind
impl Unpin for PlanRiskKind
impl UnsafeUnpin for PlanRiskKind
impl UnwindSafe for PlanRiskKind
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