#[non_exhaustive]
pub enum GlweCiphertextTrivialEncryptionError<EngineError: Error> {
Engine(EngineError),
}
Expand description
An error used with the GlweCiphertextTrivialEncryptionEngine
trait.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Engine(EngineError)
Specific error to the implementing engine.
Trait Implementations
impl<EngineError: PartialEq + Error> PartialEq<GlweCiphertextTrivialEncryptionError<EngineError>> for GlweCiphertextTrivialEncryptionError<EngineError>
impl<EngineError: PartialEq + Error> PartialEq<GlweCiphertextTrivialEncryptionError<EngineError>> for GlweCiphertextTrivialEncryptionError<EngineError>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<EngineError: Error> StructuralPartialEq for GlweCiphertextTrivialEncryptionError<EngineError>
Auto Trait Implementations
impl<EngineError> RefUnwindSafe for GlweCiphertextTrivialEncryptionError<EngineError> where
EngineError: RefUnwindSafe,
impl<EngineError> Send for GlweCiphertextTrivialEncryptionError<EngineError> where
EngineError: Send,
impl<EngineError> Sync for GlweCiphertextTrivialEncryptionError<EngineError> where
EngineError: Sync,
impl<EngineError> Unpin for GlweCiphertextTrivialEncryptionError<EngineError> where
EngineError: Unpin,
impl<EngineError> UnwindSafe for GlweCiphertextTrivialEncryptionError<EngineError> where
EngineError: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more