[][src]Struct dasn1_core::types::integer::Integer

pub struct Integer(_);

A representation of the INTEGER ASN.1 data type. Integer is a wrapper around the num_bigint::BigInt type. Please refer to the BigInt documentation for using Integer in Rust.

Methods

impl Integer[src]

pub fn new(big: BigInt) -> Self[src]

pub fn into_inner(self) -> BigInt[src]

Trait Implementations

impl From<i8> for Integer[src]

impl From<i16> for Integer[src]

impl From<i32> for Integer[src]

impl From<i64> for Integer[src]

impl From<i128> for Integer[src]

impl From<isize> for Integer[src]

impl From<u8> for Integer[src]

impl From<u16> for Integer[src]

impl From<u32> for Integer[src]

impl From<u64> for Integer[src]

impl From<u128> for Integer[src]

impl From<usize> for Integer[src]

impl Serialize for Integer[src]

impl<'de> Deserialize<'de> for Integer[src]

Auto Trait Implementations

impl Sync for Integer

impl Unpin for Integer

impl Send for Integer

impl UnwindSafe for Integer

impl RefUnwindSafe for Integer

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

type Output = T

Should always be Self