Struct openssl::x509::store::X509LookupRef [−][src]
Reference to an X509Lookup
.
Implementations
impl X509LookupRef<HashDir>
[src]
pub fn add_dir(
&mut self,
name: &str,
file_type: SslFiletype
) -> Result<(), ErrorStack>
[src]
&mut self,
name: &str,
file_type: SslFiletype
) -> Result<(), ErrorStack>
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]
fn as_ref(&self) -> &X509LookupRef<T>
[src]
impl<T> Borrow<X509LookupRef<T>> for X509Lookup<T>
[src]
fn borrow(&self) -> &X509LookupRef<T>
[src]
impl<T> ForeignTypeRef for X509LookupRef<T>
[src]
type CType = X509_LOOKUP
The raw C type.
pub unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
[src]
pub unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
pub fn as_ptr(&self) -> *mut Self::CType
[src]
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,
T: Unpin,
impl<T> UnwindSafe for X509LookupRef<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,