pub enum MutationsError {
DuplicateMutations(Key),
DecodeError(MutationDecodeError),
}
Expand description
Error with computing mutations.
Variants§
DuplicateMutations(Key)
Duplicate mutations for the same key.
DecodeError(MutationDecodeError)
Error decoding mutations.
Trait Implementations§
Source§impl Debug for MutationsError
impl Debug for MutationsError
Source§impl Display for MutationsError
impl Display for MutationsError
Source§impl Error for MutationsError
impl Error for MutationsError
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<MutationDecodeError> for MutationsError
impl From<MutationDecodeError> for MutationsError
Source§fn from(source: MutationDecodeError) -> Self
fn from(source: MutationDecodeError) -> Self
Converts to this type from the input type.
Source§impl<E> From<MutationsError> for PredicateError<E>
impl<E> From<MutationsError> for PredicateError<E>
Source§fn from(source: MutationsError) -> Self
fn from(source: MutationsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MutationsError
impl RefUnwindSafe for MutationsError
impl Send for MutationsError
impl Sync for MutationsError
impl Unpin for MutationsError
impl UnwindSafe for MutationsError
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