pub enum PredicateEncodeError {
TooManyNodes,
TooManyEdges,
}
Expand description
Errors that can occur when encoding a predicate.
Variants§
TooManyNodes
The predicate contains too many nodes.
TooManyEdges
The predicate contains too many edges.
Trait Implementations§
Source§impl Debug for PredicateEncodeError
impl Debug for PredicateEncodeError
Source§impl Display for PredicateEncodeError
impl Display for PredicateEncodeError
Source§impl Error for PredicateEncodeError
impl Error for PredicateEncodeError
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 PredicateEncodeError
impl PartialEq for PredicateEncodeError
impl StructuralPartialEq for PredicateEncodeError
Auto Trait Implementations§
impl Freeze for PredicateEncodeError
impl RefUnwindSafe for PredicateEncodeError
impl Send for PredicateEncodeError
impl Sync for PredicateEncodeError
impl Unpin for PredicateEncodeError
impl UnwindSafe for PredicateEncodeError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more