Type Alias EncapResult

Source
pub type EncapResult = Result<(SharedSecret, SerializedPublicKey), HpkeError>;

Aliased Type§

pub enum EncapResult {
    Ok((Vec<u8>, Vec<u8>)),
    Err(HpkeError),
}

Variants§

§1.0.0

Ok((Vec<u8>, Vec<u8>))

Contains the success value

§1.0.0

Err(HpkeError)

Contains the error value