[]Struct openssl::bn::BigNumContext

pub struct BigNumContext(_);
[]

Temporary storage for BigNums on the secure heap

BigNum values are stored dynamically and therefore can be expensive to allocate. BigNumContext and the OpenSSL BN_CTX structure are used internally when passing BigNum values between subroutines.

Methods

impl BigNumContext[src][]

pub fn new() -> Result<BigNumContext, ErrorStack>[src][]

Returns a new BigNumContext.

See OpenSSL documentation at BN_CTX_new.

Trait Implementations

impl Sync for BigNumContext[src]

impl AsRef<BigNumContextRef> for BigNumContext[+]

impl Send for BigNumContext[src]

impl Drop for BigNumContext[+]

impl DerefMut for BigNumContext[+]

impl Deref for BigNumContext[+]

type Target = BigNumContextRef

The resulting type after dereferencing.

impl Borrow<BigNumContextRef> for BigNumContext[+]

impl ForeignType for BigNumContext[+]

type CType = BN_CTX

The raw C type.

type Ref = BigNumContextRef

The type representing a reference to this type.

Blanket Implementations

impl<T> From for T[src][]

impl<T, U> Into for T where
    U: From<T>, 
[src][]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src][]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src][]

impl<T> BorrowMut for T where
    T: ?Sized
[src][]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src][]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src][]