pub enum PrivacyError {
Show 54 variants
VertexNotFound(String),
ChshBoundViolation {
got: f64,
threshold: f64,
},
InvalidDimension(usize),
ProofGenerationFailed(String),
ProofVerificationFailed,
PublicInputMismatch,
InvalidProofEncoding,
AggregationDepthExceeded(usize),
EntanglementFailed(f64),
AttractorStalled(f64),
EntropyQualityFailed(f64),
AllAttractorsStalled,
PrivacyBudgetExhausted {
epsilon: f64,
limit: f64,
},
RenyiCompositionOverflow {
alpha: u32,
},
InvalidSensitivity(f64),
TupleExpired(u64),
TupleNotFound(String),
HomomorphicOpFailed(String),
AnchorFailed(String),
KeyHopIntervalExceeded {
elapsed_ms: u64,
limit_ms: u64,
},
RatchetCorrupted,
ZeroizationFailed,
SnpMatchFailed {
matched: u32,
total: u32,
threshold: u32,
},
TokenMintFailed(String),
RevocationFailed(String),
InvalidAllele(String),
NodeUnreachable(String),
SphinxFailed(String),
BloomFpExceeded(f64),
SybilDetected(u64),
GovernanceFailed(String),
ThresholdNotMet {
got: usize,
needed: usize,
},
EntropyScalingFailed(String),
FheEncryptionFailed(String),
ShardReconstructionFailed {
got: usize,
needed: usize,
},
VaultAccessDenied(String),
P2pConnectionFailed(String),
MetadataObliterationFailed(String),
ClearanceFailed {
required: u8,
got: u8,
},
RedactionFailed(String),
IbcRoutingFailed(String),
WasmExecutionFailed(String),
CapabilityNotFound(String),
PageAccessDenied {
key: u8,
page: usize,
},
AttestationFailed(String),
CompressionFailed(String),
DecompressionFailed(String),
IcosupleTooBig {
size: usize,
limit: usize,
},
IcosupleDeserializeFailed(String),
PosetConflict(String),
CausalViolation(String),
EncodingError(String),
SerializationError(String),
Internal(String),
}Expand description
Top-level error type for the PQCPrivacy framework.
Variants§
VertexNotFound(String)
ChshBoundViolation
InvalidDimension(usize)
ProofGenerationFailed(String)
ProofVerificationFailed
PublicInputMismatch
InvalidProofEncoding
AggregationDepthExceeded(usize)
EntanglementFailed(f64)
AttractorStalled(f64)
EntropyQualityFailed(f64)
AllAttractorsStalled
PrivacyBudgetExhausted
RenyiCompositionOverflow
InvalidSensitivity(f64)
TupleExpired(u64)
TupleNotFound(String)
HomomorphicOpFailed(String)
AnchorFailed(String)
KeyHopIntervalExceeded
RatchetCorrupted
ZeroizationFailed
SnpMatchFailed
TokenMintFailed(String)
RevocationFailed(String)
InvalidAllele(String)
NodeUnreachable(String)
SphinxFailed(String)
BloomFpExceeded(f64)
SybilDetected(u64)
GovernanceFailed(String)
ThresholdNotMet
EntropyScalingFailed(String)
FheEncryptionFailed(String)
ShardReconstructionFailed
VaultAccessDenied(String)
P2pConnectionFailed(String)
MetadataObliterationFailed(String)
ClearanceFailed
RedactionFailed(String)
IbcRoutingFailed(String)
WasmExecutionFailed(String)
CapabilityNotFound(String)
PageAccessDenied
AttestationFailed(String)
CompressionFailed(String)
DecompressionFailed(String)
IcosupleTooBig
IcosupleDeserializeFailed(String)
PosetConflict(String)
CausalViolation(String)
EncodingError(String)
SerializationError(String)
Internal(String)
Trait Implementations§
Source§impl Debug for PrivacyError
impl Debug for PrivacyError
Source§impl Display for PrivacyError
impl Display for PrivacyError
Source§impl Error for PrivacyError
impl Error for PrivacyError
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 PrivacyError
impl RefUnwindSafe for PrivacyError
impl Send for PrivacyError
impl Sync for PrivacyError
impl Unpin for PrivacyError
impl UnsafeUnpin for PrivacyError
impl UnwindSafe for PrivacyError
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