pub enum EffectRuntimeValidationError {
MissingField(&'static str),
InvalidSchemaVersion {
artifact: &'static str,
expected: &'static str,
found: String,
},
InvalidState(&'static str),
InvalidTimestamp {
field: &'static str,
value: String,
},
}Expand description
Validation failures for effect-runtime owned constitutional artifacts.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EffectRuntimeValidationError
impl Clone for EffectRuntimeValidationError
Source§fn clone(&self) -> EffectRuntimeValidationError
fn clone(&self) -> EffectRuntimeValidationError
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 moreSource§impl Debug for EffectRuntimeValidationError
impl Debug for EffectRuntimeValidationError
impl Eq for EffectRuntimeValidationError
Source§impl Error for EffectRuntimeValidationError
impl Error for EffectRuntimeValidationError
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 EffectRuntimeValidationError
impl PartialEq for EffectRuntimeValidationError
Source§fn eq(&self, other: &EffectRuntimeValidationError) -> bool
fn eq(&self, other: &EffectRuntimeValidationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EffectRuntimeValidationError
Auto Trait Implementations§
impl Freeze for EffectRuntimeValidationError
impl RefUnwindSafe for EffectRuntimeValidationError
impl Send for EffectRuntimeValidationError
impl Sync for EffectRuntimeValidationError
impl Unpin for EffectRuntimeValidationError
impl UnsafeUnpin for EffectRuntimeValidationError
impl UnwindSafe for EffectRuntimeValidationError
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