Enum CrossRecipeError
#[non_exhaustive]pub enum CrossRecipeError {
Projection(CrossRecipeProjectionError),
StepPillar(CrossRecipeStepError),
Triangulated(TriangulatedRecipeError),
}Expand description
Why a CurveRecipes::insert rejected a cross-collateral-keyed recipe.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Projection(CrossRecipeProjectionError)
The cross recipe carried a projection entry.
StepPillar(CrossRecipeStepError)
The cross recipe carried a policy path or an explicit window.
Triangulated(TriangulatedRecipeError)
A triangulated declaration was malformed (wrong key shape, degenerate via, missing or chained source).
Trait Implementations§
§impl Clone for CrossRecipeError
impl Clone for CrossRecipeError
§fn clone(&self) -> CrossRecipeError
fn clone(&self) -> CrossRecipeError
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 more§impl Debug for CrossRecipeError
impl Debug for CrossRecipeError
§impl Display for CrossRecipeError
impl Display for CrossRecipeError
impl Eq for CrossRecipeError
§impl Error for CrossRecipeError
impl Error for CrossRecipeError
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()
§impl PartialEq for CrossRecipeError
impl PartialEq for CrossRecipeError
§fn eq(&self, other: &CrossRecipeError) -> bool
fn eq(&self, other: &CrossRecipeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CrossRecipeError
Auto Trait Implementations§
impl Freeze for CrossRecipeError
impl RefUnwindSafe for CrossRecipeError
impl Send for CrossRecipeError
impl Sync for CrossRecipeError
impl Unpin for CrossRecipeError
impl UnsafeUnpin for CrossRecipeError
impl UnwindSafe for CrossRecipeError
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