pub enum ExternalizedSlotProofError {
DuplicateNodeStatement {
node_id: SCPNodeID,
},
MissingCompanionQuorumSet {
hash: SCPHash,
},
CompanionQuorumSetHashMismatch {
claimed: SCPHash,
actual: SCPHash,
},
CompanionQuorumSetHashFailed {
hash: SCPHash,
},
CompanionQuorumSetEncodingFailed {
hash: SCPHash,
},
MalformedEnvelope {
reason: MalformedEnvelopeReason,
},
}Expand description
Error returned while building an externalized-slot proof snapshot.
Variants§
DuplicateNodeStatement
MissingCompanionQuorumSet
CompanionQuorumSetHashMismatch
CompanionQuorumSetHashFailed
CompanionQuorumSetEncodingFailed
MalformedEnvelope
Fields
§
reason: MalformedEnvelopeReasonTrait Implementations§
Source§impl Debug for ExternalizedSlotProofError
impl Debug for ExternalizedSlotProofError
Source§impl Display for ExternalizedSlotProofError
impl Display for ExternalizedSlotProofError
impl Eq for ExternalizedSlotProofError
Source§impl Error for ExternalizedSlotProofError
impl Error for ExternalizedSlotProofError
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 ExternalizedSlotProofError
Auto Trait Implementations§
impl Freeze for ExternalizedSlotProofError
impl RefUnwindSafe for ExternalizedSlotProofError
impl Send for ExternalizedSlotProofError
impl Sync for ExternalizedSlotProofError
impl Unpin for ExternalizedSlotProofError
impl UnsafeUnpin for ExternalizedSlotProofError
impl UnwindSafe for ExternalizedSlotProofError
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