pub enum FidelityError {
Version {
found: String,
},
DuplicateRecord {
id: String,
},
Length {
id: String,
declared: u64,
actual: u64,
},
Digest {
id: String,
},
}Expand description
Validation failure in source metadata.
Variants§
Version
The sidecar declares an unsupported schema version.
DuplicateRecord
Two retained records share an identifier.
Length
Retained data has the wrong length.
Fields
Digest
Retained data has the wrong digest.
Trait Implementations§
Source§impl Clone for FidelityError
impl Clone for FidelityError
Source§fn clone(&self) -> FidelityError
fn clone(&self) -> FidelityError
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 FidelityError
impl Debug for FidelityError
Source§impl Display for FidelityError
impl Display for FidelityError
impl Eq for FidelityError
Source§impl Error for FidelityError
impl Error for FidelityError
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 FidelityError
impl PartialEq for FidelityError
impl StructuralPartialEq for FidelityError
Auto Trait Implementations§
impl Freeze for FidelityError
impl RefUnwindSafe for FidelityError
impl Send for FidelityError
impl Sync for FidelityError
impl Unpin for FidelityError
impl UnsafeUnpin for FidelityError
impl UnwindSafe for FidelityError
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