pub enum ContentRefValidationError {
InvalidChecksum(ChecksumValidationError),
}Expand description
Describes why a content reference cannot be part of a durable commit.
Variants§
InvalidChecksum(ChecksumValidationError)
The checksum is not in the algorithm’s canonical form.
Trait Implementations§
Source§impl Clone for ContentRefValidationError
impl Clone for ContentRefValidationError
Source§impl Debug for ContentRefValidationError
impl Debug for ContentRefValidationError
Source§impl<'de> Deserialize<'de> for ContentRefValidationError
impl<'de> Deserialize<'de> for ContentRefValidationError
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 ContentRefValidationError
impl Display for ContentRefValidationError
impl Eq for ContentRefValidationError
Source§impl Error for ContentRefValidationError
impl Error for ContentRefValidationError
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()
impl StructuralPartialEq for ContentRefValidationError
Auto Trait Implementations§
impl Freeze for ContentRefValidationError
impl RefUnwindSafe for ContentRefValidationError
impl Send for ContentRefValidationError
impl Sync for ContentRefValidationError
impl Unpin for ContentRefValidationError
impl UnsafeUnpin for ContentRefValidationError
impl UnwindSafe for ContentRefValidationError
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