Struct mc_oblivious_aes_gcm::CtDecryptResult [−][src]
pub struct CtDecryptResult(pub Choice);
Expand description
A new-type wrapper around choice with the #[must_use] annotation that Result has. This wraps the value Choice::from(true) when decryption succeeded, and Choice::from(false) otherwise.
Tuple Fields
0: Choice
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CtDecryptResult
impl Send for CtDecryptResult
impl Sync for CtDecryptResult
impl Unpin for CtDecryptResult
impl UnwindSafe for CtDecryptResult
Blanket Implementations
Mutably borrows from an owned value. Read more