pub enum AutomaticPlanningError {
Invalid(String),
Backend {
operation: &'static str,
message: String,
},
}Expand description
Failure produced by portable planning or its selected backend adapter.
Variants§
Invalid(String)
A portable request or policy invariant is invalid.
Backend
A selected backend observation or admission operation failed.
Trait Implementations§
Source§impl Clone for AutomaticPlanningError
impl Clone for AutomaticPlanningError
Source§fn clone(&self) -> AutomaticPlanningError
fn clone(&self) -> AutomaticPlanningError
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 AutomaticPlanningError
impl Debug for AutomaticPlanningError
Source§impl Display for AutomaticPlanningError
impl Display for AutomaticPlanningError
impl Eq for AutomaticPlanningError
Source§impl Error for AutomaticPlanningError
impl Error for AutomaticPlanningError
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 AutomaticPlanningError
impl PartialEq for AutomaticPlanningError
impl StructuralPartialEq for AutomaticPlanningError
Auto Trait Implementations§
impl Freeze for AutomaticPlanningError
impl RefUnwindSafe for AutomaticPlanningError
impl Send for AutomaticPlanningError
impl Sync for AutomaticPlanningError
impl Unpin for AutomaticPlanningError
impl UnsafeUnpin for AutomaticPlanningError
impl UnwindSafe for AutomaticPlanningError
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