pub enum ErrorFamily {
Validate,
Materialize,
}Expand description
Which top-level operation produced an ErrorCode – validate and
materialize share this one ErrorCode/ValidationResult mechanism
(see ValidationResult::add’s doc comment), but omnist-spec §8.3.1
namespaces error codes per call-site family (validate.* vs.
materialize.*), not per underlying check, so the family has to be
threaded through at the point a code is stringified rather than baked
into ErrorCode itself.
Variants§
Trait Implementations§
Source§impl Clone for ErrorFamily
impl Clone for ErrorFamily
Source§fn clone(&self) -> ErrorFamily
fn clone(&self) -> ErrorFamily
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 moreimpl Copy for ErrorFamily
Source§impl Debug for ErrorFamily
impl Debug for ErrorFamily
impl Eq for ErrorFamily
Source§impl PartialEq for ErrorFamily
impl PartialEq for ErrorFamily
Source§fn eq(&self, other: &ErrorFamily) -> bool
fn eq(&self, other: &ErrorFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorFamily
Auto Trait Implementations§
impl Freeze for ErrorFamily
impl RefUnwindSafe for ErrorFamily
impl Send for ErrorFamily
impl Sync for ErrorFamily
impl Unpin for ErrorFamily
impl UnsafeUnpin for ErrorFamily
impl UnwindSafe for ErrorFamily
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more