Type Alias NonZeroUint

Source
pub type NonZeroUint = NonZero<Uint>;
Available on crate feature bigint only.
Expand description

Non-zero Uint.

Aliased Type§

pub struct NonZeroUint(/* private fields */);

Trait Implementations§

Source§

impl TryFrom<&Mpint> for NonZeroUint

Available on crate feature alloc only.
Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(mpint: &Mpint) -> Result<NonZeroUint>

Performs the conversion.
Source§

impl TryFrom<Mpint> for NonZeroUint

Available on crate feature alloc only.
Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(mpint: Mpint) -> Result<NonZeroUint>

Performs the conversion.