[][src]Struct runng::ctx::NngCtx

pub struct NngCtx { /* fields omitted */ }

Handle to nng_ctx. See nng_ctx.

Methods

impl NngCtx[src]

pub fn new(socket: NngSocket) -> Result<Self>[src]

Creates a new context using the specified socket. See nng_ctx_open.

pub fn id(&self) -> i32[src]

Trait Implementations

impl Ctx for NngCtx[src]

impl Debug for NngCtx[src]

impl Drop for NngCtx[src]

Auto Trait Implementations

impl RefUnwindSafe for NngCtx

impl Send for NngCtx

impl Sync for NngCtx

impl Unpin for NngCtx

impl UnwindSafe for NngCtx

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.