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

A reference to an X509Lookup.

Implementations

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.

Specifies a file from which certificates will be loaded

This corresponds to X509_load_cert_file.

Specifies a file from which certificate revocation lists will be loaded

This corresponds to X509_load_crl_file.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Immutably borrows from an owned value. Read more
The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
Returns a raw pointer to the wrapped value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.