Enum PlanRiskKind
pub enum PlanRiskKind {
AmbiguousInput,
MissingContext,
UnsafeAction,
ToolFailure,
TimeLimit,
CostLimit,
Unknown,
}Variants§
Implementations§
§impl PlanRiskKind
impl PlanRiskKind
pub const ALL: &'static [PlanRiskKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for PlanRiskKind
impl Clone for PlanRiskKind
§fn clone(&self) -> PlanRiskKind
fn clone(&self) -> PlanRiskKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PlanRiskKind
impl Debug for PlanRiskKind
§impl Display for PlanRiskKind
impl Display for PlanRiskKind
§impl FromStr for PlanRiskKind
impl FromStr for PlanRiskKind
§type Err = PlanningError
type Err = PlanningError
The associated error which can be returned from parsing.
§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 more§impl Hash for PlanRiskKind
impl Hash for PlanRiskKind
§impl Ord for PlanRiskKind
impl Ord for PlanRiskKind
§impl PartialEq for PlanRiskKind
impl PartialEq for PlanRiskKind
§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