pub enum SchemaMetadataError {
InvalidVersion,
EmptyFingerprint,
FingerprintTooLong,
NonAsciiFingerprint,
ControlCharacterFingerprint,
}Expand description
SchemaMetadataError
Schema metadata validation failure.
Variants§
InvalidVersion
Schema version zero is reserved for absence.
EmptyFingerprint
Present fingerprints must be non-empty.
FingerprintTooLong
Fingerprints must stay bounded for durable ledger storage.
NonAsciiFingerprint
Fingerprints must not require Unicode normalization.
ControlCharacterFingerprint
Fingerprints must be printable metadata.
Trait Implementations§
Source§impl Clone for SchemaMetadataError
impl Clone for SchemaMetadataError
Source§fn clone(&self) -> SchemaMetadataError
fn clone(&self) -> SchemaMetadataError
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 SchemaMetadataError
impl Debug for SchemaMetadataError
Source§impl Display for SchemaMetadataError
impl Display for SchemaMetadataError
Source§impl Error for SchemaMetadataError
impl Error for SchemaMetadataError
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 SchemaMetadataError
impl PartialEq for SchemaMetadataError
Source§fn eq(&self, other: &SchemaMetadataError) -> bool
fn eq(&self, other: &SchemaMetadataError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SchemaMetadataError
impl StructuralPartialEq for SchemaMetadataError
Auto Trait Implementations§
impl Freeze for SchemaMetadataError
impl RefUnwindSafe for SchemaMetadataError
impl Send for SchemaMetadataError
impl Sync for SchemaMetadataError
impl Unpin for SchemaMetadataError
impl UnsafeUnpin for SchemaMetadataError
impl UnwindSafe for SchemaMetadataError
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