pub struct InvariantViolation {
pub case_ref: CaseRef,
pub kind: InvariantViolationKind,
}Expand description
A projection violated one of the Flow Map invariants (spec §8.4).
Fields§
§case_ref: CaseRefThe projected case.
kind: InvariantViolationKindWhich rule was broken.
Trait Implementations§
Source§impl Clone for InvariantViolation
impl Clone for InvariantViolation
Source§impl Debug for InvariantViolation
impl Debug for InvariantViolation
Source§impl<'de> Deserialize<'de> for InvariantViolation
impl<'de> Deserialize<'de> for InvariantViolation
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 InvariantViolation
impl Display for InvariantViolation
impl Eq for InvariantViolation
Source§impl Error for InvariantViolation
impl Error for InvariantViolation
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<InvariantViolation> for OrchestratorError
impl From<InvariantViolation> for OrchestratorError
Source§fn from(value: InvariantViolation) -> Self
fn from(value: InvariantViolation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvariantViolation
impl PartialEq for InvariantViolation
Source§impl Serialize for InvariantViolation
impl Serialize for InvariantViolation
impl StructuralPartialEq for InvariantViolation
Auto Trait Implementations§
impl Freeze for InvariantViolation
impl RefUnwindSafe for InvariantViolation
impl Send for InvariantViolation
impl Sync for InvariantViolation
impl Unpin for InvariantViolation
impl UnsafeUnpin for InvariantViolation
impl UnwindSafe for InvariantViolation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.