[][src]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.

Implementations

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[src]

impl Borrow<BigNumContextRef> for BigNumContext[src]

impl Deref for BigNumContext[src]

type Target = BigNumContextRef

The resulting type after dereferencing.

impl DerefMut for BigNumContext[src]

impl Drop for BigNumContext[src]

impl ForeignType for BigNumContext[src]

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.