Struct openssl::x509::X509VerifyError
[−]
[src]
pub struct X509VerifyError(_);
Methods
impl X509VerifyError
[src]
pub unsafe fn from_raw(err: c_long) -> Option<X509VerifyError>
[src]
Creates an X509VerifyError
from a raw error number.
None
will be returned if err
is X509_V_OK
.
Safety
Some methods on X509VerifyError
are not thread safe if the error
number is invalid.
pub fn as_raw(&self) -> c_long
[src]
pub fn error_string(&self) -> &'static str
[src]
Trait Implementations
impl Debug for X509VerifyError
[src]
impl Display for X509VerifyError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more