pub enum TransparencyError {
InvalidProof(String),
RootMismatch {
expected: String,
actual: String,
},
InvalidNote(String),
InvalidCheckpointSignature,
InvalidTilePath(String),
InvalidOrigin(String),
EntryError(String),
ConsistencyError(String),
StoreError(String),
}Expand description
Errors from transparency log operations.
Variants§
InvalidProof(String)
Invalid Merkle proof structure.
RootMismatch
Merkle root mismatch during verification.
InvalidNote(String)
Invalid signed note format.
InvalidCheckpointSignature
Signature verification failed on a checkpoint note.
InvalidTilePath(String)
Tile path encoding error.
InvalidOrigin(String)
Invalid log origin string.
EntryError(String)
Entry serialization or deserialization failure.
ConsistencyError(String)
Consistency proof verification failed.
StoreError(String)
Storage backend error.
Trait Implementations§
Source§impl Clone for TransparencyError
impl Clone for TransparencyError
Source§fn clone(&self) -> TransparencyError
fn clone(&self) -> TransparencyError
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 TransparencyError
impl Debug for TransparencyError
Source§impl Display for TransparencyError
impl Display for TransparencyError
Source§impl Error for TransparencyError
impl Error for TransparencyError
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()
Auto Trait Implementations§
impl Freeze for TransparencyError
impl RefUnwindSafe for TransparencyError
impl Send for TransparencyError
impl Sync for TransparencyError
impl Unpin for TransparencyError
impl UnsafeUnpin for TransparencyError
impl UnwindSafe for TransparencyError
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