[][src]Enum libnss::interop::Response

pub enum Response<R> {
    TryAgain,
    Unavail,
    NotFound,
    Success(R),
    Return,
}

Variants

TryAgain
Unavail
NotFound
Success(R)
Return

Implementations

impl<R> Response<R>[src]

pub fn to_status(&self) -> NssStatus[src]

pub unsafe fn to_c<C>(
    &self,
    result: *mut C,
    buf: *mut c_char,
    buflen: size_t,
    errnop: *mut c_int
) -> NssStatus where
    R: ToC<C>, 
[src]

Trait Implementations

impl<R: Clone> Clone for Response<R>[src]

impl<R: Copy> Copy for Response<R>[src]

impl<R: Debug> Debug for Response<R>[src]

impl<R: PartialEq> PartialEq<Response<R>> for Response<R>[src]

impl<R> StructuralPartialEq for Response<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for Response<R> where
    R: RefUnwindSafe

impl<R> Send for Response<R> where
    R: Send

impl<R> Sync for Response<R> where
    R: Sync

impl<R> Unpin for Response<R> where
    R: Unpin

impl<R> UnwindSafe for Response<R> where
    R: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.