[][src]Struct openssl_errors::Reason

pub struct Reason<T>(_, _);

A reason declaration, parameterized by its error library.

Methods

impl<T> Reason<T>[src]

pub const fn from_raw(raw: c_int) -> Reason<T>[src]

Creates a reason from its raw identifier.

pub const fn as_raw(&self) -> c_int[src]

Returns the reason's raw identifier.

Auto Trait Implementations

impl<T> Send for Reason<T> where
    T: Send

impl<T> Sync for Reason<T> where
    T: Sync

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]