[−]Struct openssl::bn::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]
impl BigNumContext
pub fn new() -> Result<BigNumContext, ErrorStack>
[src]
pub fn new() -> Result<BigNumContext, ErrorStack>
Returns a new BigNumContext
.
See OpenSSL documentation at BN_CTX_new
.
Trait Implementations
impl Sync for BigNumContext
[src]
impl Sync for BigNumContext
impl AsRef<BigNumContextRef> for BigNumContext
impl AsRef<BigNumContextRef> for BigNumContext
fn as_ref(&self) -> &BigNumContextRef
fn as_ref(&self) -> &BigNumContextRef
Performs the conversion.
impl Send for BigNumContext
[src]
impl Send for BigNumContext
impl Drop for BigNumContext
impl Drop for BigNumContext
impl Deref for BigNumContext
impl Deref for BigNumContext
type Target = BigNumContextRef
The resulting type after dereferencing.
fn deref(&self) -> &BigNumContextRef
fn deref(&self) -> &BigNumContextRef
Dereferences the value.
impl DerefMut for BigNumContext
impl DerefMut for BigNumContext
fn deref_mut(&mut self) -> &mut BigNumContextRef
fn deref_mut(&mut self) -> &mut BigNumContextRef
Mutably dereferences the value.
impl Borrow<BigNumContextRef> for BigNumContext
impl Borrow<BigNumContextRef> for BigNumContext
fn borrow(&self) -> &BigNumContextRef
fn borrow(&self) -> &BigNumContextRef
Immutably borrows from an owned value. Read more
impl ForeignType for BigNumContext
impl ForeignType for BigNumContext
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more