pub enum AgentCapturePlanError {
EmptyLease,
InvalidConfidence {
value: String,
},
}Expand description
Failures from pure agent capture option validation.
Variants§
Trait Implementations§
Source§impl Clone for AgentCapturePlanError
impl Clone for AgentCapturePlanError
Source§fn clone(&self) -> AgentCapturePlanError
fn clone(&self) -> AgentCapturePlanError
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 AgentCapturePlanError
impl Debug for AgentCapturePlanError
Source§impl Display for AgentCapturePlanError
impl Display for AgentCapturePlanError
impl Eq for AgentCapturePlanError
Source§impl Error for AgentCapturePlanError
impl Error for AgentCapturePlanError
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 AgentCapturePlanError
impl PartialEq for AgentCapturePlanError
impl StructuralPartialEq for AgentCapturePlanError
Auto Trait Implementations§
impl Freeze for AgentCapturePlanError
impl RefUnwindSafe for AgentCapturePlanError
impl Send for AgentCapturePlanError
impl Sync for AgentCapturePlanError
impl Unpin for AgentCapturePlanError
impl UnsafeUnpin for AgentCapturePlanError
impl UnwindSafe for AgentCapturePlanError
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