[][src]Enum cargo_crates_io_docs_rs_test::nng_unit_enum

#[repr(u32)]
pub enum nng_unit_enum { NNG_UNIT_NONE, NNG_UNIT_BYTES, NNG_UNIT_MESSAGES, NNG_UNIT_MILLIS, NNG_UNIT_EVENTS, }

Variants

NNG_UNIT_NONENNG_UNIT_BYTESNNG_UNIT_MESSAGESNNG_UNIT_MILLISNNG_UNIT_EVENTS

Methods

impl nng_unit_enum[src]

pub fn from_i32(value: i32) -> Option<nng_unit_enum>[src]

Converts value returned by nng_stat_unit into nng_unit_enum.

Trait Implementations

impl Copy for nng_unit_enum[src]

impl Debug for nng_unit_enum[src]

impl PartialEq<nng_unit_enum> for nng_unit_enum[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for nng_unit_enum[src]

impl Hash for nng_unit_enum[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for nng_unit_enum[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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