pub enum SchemaGraphError {
DuplicateRegistration(String),
LateRegistration(String),
SnapshotEncoding,
}Expand description
SchemaGraphError
Deterministic graph-construction failure retained until sealing.
Variants§
DuplicateRegistration(String)
A second constructor declared the same complete Rust path.
LateRegistration(String)
A constructor attempted to mutate an already sealed graph.
SnapshotEncoding
The validated graph could not be encoded for deterministic identity.
Trait Implementations§
Source§impl Clone for SchemaGraphError
impl Clone for SchemaGraphError
Source§fn clone(&self) -> SchemaGraphError
fn clone(&self) -> SchemaGraphError
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 SchemaGraphError
impl Debug for SchemaGraphError
Source§impl Display for SchemaGraphError
impl Display for SchemaGraphError
impl Eq for SchemaGraphError
Source§impl Error for SchemaGraphError
impl Error for SchemaGraphError
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<SchemaGraphError> for BuildError
impl From<SchemaGraphError> for BuildError
Source§fn from(source: SchemaGraphError) -> Self
fn from(source: SchemaGraphError) -> Self
Converts to this type from the input type.
Source§impl Ord for SchemaGraphError
impl Ord for SchemaGraphError
Source§fn cmp(&self, other: &SchemaGraphError) -> Ordering
fn cmp(&self, other: &SchemaGraphError) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SchemaGraphError
impl PartialEq for SchemaGraphError
Source§impl PartialOrd for SchemaGraphError
impl PartialOrd for SchemaGraphError
impl StructuralPartialEq for SchemaGraphError
Auto Trait Implementations§
impl Freeze for SchemaGraphError
impl RefUnwindSafe for SchemaGraphError
impl Send for SchemaGraphError
impl Sync for SchemaGraphError
impl Unpin for SchemaGraphError
impl UnsafeUnpin for SchemaGraphError
impl UnwindSafe for SchemaGraphError
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.