Skip to main content

DecryptedCipher

Type Alias DecryptedCipher 

Source
type DecryptedCipher<Output> = Result<Result<Output, Box<(Cipher, CryptoError)>>, LargeVecError>;
Expand description

The result of decrypting one cipher of a list: the decrypted cipher, or the cipher that failed along with its error, or an input item that is not a cipher.

Aliased Type§

enum DecryptedCipher<Output> {
    Ok(Result<Output, Box<(Cipher, CryptoError)>>),
    Err(LargeVecError),
}

Variants§

§1.0.0

Ok(Result<Output, Box<(Cipher, CryptoError)>>)

Contains the success value

§1.0.0

Err(LargeVecError)

Contains the error value