pub enum IntegrityError {
NotInitialized,
ChecksumVerificationFailed(String),
VersionVerificationFailed(String),
CorruptionDetectionFailed(String),
ChecksumMismatch,
VersionMismatch,
DataCorruption,
InvalidDataFormat,
ConfigurationError(String),
}Expand description
Integrity errors
Variants§
NotInitialized
System not initialized
ChecksumVerificationFailed(String)
Checksum verification failed
VersionVerificationFailed(String)
Version verification failed
CorruptionDetectionFailed(String)
Corruption detection failed
ChecksumMismatch
Checksum mismatch
VersionMismatch
Version mismatch
DataCorruption
Data corruption detected
InvalidDataFormat
Invalid data format
ConfigurationError(String)
Configuration error
Trait Implementations§
Source§impl Clone for IntegrityError
impl Clone for IntegrityError
Source§fn clone(&self) -> IntegrityError
fn clone(&self) -> IntegrityError
Returns a duplicate of the value. Read more
1.0.0 · 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 IntegrityError
impl Debug for IntegrityError
Source§impl<'de> Deserialize<'de> for IntegrityError
impl<'de> Deserialize<'de> for IntegrityError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for IntegrityError
impl Display for IntegrityError
Source§impl Error for IntegrityError
impl Error for IntegrityError
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<IntegrityError> for ReliabilityError
impl From<IntegrityError> for ReliabilityError
Source§fn from(e: IntegrityError) -> Self
fn from(e: IntegrityError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IntegrityError
impl PartialEq for IntegrityError
Source§impl Serialize for IntegrityError
impl Serialize for IntegrityError
impl StructuralPartialEq for IntegrityError
Auto Trait Implementations§
impl Freeze for IntegrityError
impl RefUnwindSafe for IntegrityError
impl Send for IntegrityError
impl Sync for IntegrityError
impl Unpin for IntegrityError
impl UnwindSafe for IntegrityError
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