pub enum StratificationError {
UnstratifiableCycle(UnstratifiableCycle),
}Expand description
Stratification failure.
Variants§
UnstratifiableCycle(UnstratifiableCycle)
A cycle of compatible rule dependencies contains negation or aggregation.
Implementations§
Source§impl StratificationError
impl StratificationError
Sourcepub const CODE_UNSTRATIFIABLE_CYCLE: ErrorCode
pub const CODE_UNSTRATIFIABLE_CYCLE: ErrorCode
Code of Self::UnstratifiableCycle.
Trait Implementations§
Source§impl Clone for StratificationError
impl Clone for StratificationError
Source§impl Debug for StratificationError
impl Debug for StratificationError
Source§impl<'de> Deserialize<'de> for StratificationError
impl<'de> Deserialize<'de> for StratificationError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StratificationError
impl Display for StratificationError
impl Eq for StratificationError
Source§impl Error for StratificationError
impl Error for StratificationError
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 From<StratificationError> for ProgramValidationError
impl From<StratificationError> for ProgramValidationError
Source§fn from(err: StratificationError) -> Self
fn from(err: StratificationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StratificationError
impl PartialEq for StratificationError
Source§impl Serialize for StratificationError
impl Serialize for StratificationError
impl StructuralPartialEq for StratificationError
Auto Trait Implementations§
impl Forget for StratificationError
impl Freeze for StratificationError
impl Move for StratificationError
impl RefUnwindSafe for StratificationError
impl Send for StratificationError
impl Sync for StratificationError
impl Unpin for StratificationError
impl UnsafeUnpin for StratificationError
impl UnwindSafe for StratificationError
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