[]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 AsRef<BigNumContextRef> for BigNumContext

impl Borrow<BigNumContextRef> for BigNumContext

impl Deref for BigNumContext

type Target = BigNumContextRef

The resulting type after dereferencing.

impl DerefMut for BigNumContext

impl Drop 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.

impl Send for BigNumContext[src]

impl Sync for BigNumContext[src]

Auto Trait Implementations

impl RefUnwindSafe for BigNumContext

impl Unpin for BigNumContext

impl UnwindSafe for BigNumContext

Blanket Implementations

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

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

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

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.