Struct openssl::x509::store::X509LookupRef[][src]

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

Reference to an X509Lookup.

Implementations

impl X509LookupRef<HashDir>[src]

pub fn add_dir(
    &mut self,
    name: &str,
    file_type: SslFiletype
) -> Result<(), ErrorStack>
[src]

Specifies a directory from which certificates and CRLs will be loaded on-demand. Must be used with X509Lookup::hash_dir.

This corresponds to X509_LOOKUP_add_dir.

Trait Implementations

impl<T> AsRef<X509LookupRef<T>> for X509Lookup<T>[src]

impl<T> Borrow<X509LookupRef<T>> for X509Lookup<T>[src]

impl<T> ForeignTypeRef for X509LookupRef<T>[src]

type CType = X509_LOOKUP

The raw C type.

impl<T> Send for X509LookupRef<T>[src]

impl<T> Sync for X509LookupRef<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for X509LookupRef<T>

impl<T> Unpin for X509LookupRef<T> where
    T: Unpin

impl<T> UnwindSafe for X509LookupRef<T> where
    T: 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, 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.