Struct openssl::x509::X509Object

source ·
pub struct X509Object(_);
Expand description

An X509 or an X509 certificate revocation list.

Methods from Deref<Target = X509ObjectRef>§

source

pub fn x509(&self) -> Option<&X509Ref>

Trait Implementations§

source§

impl AsRef<X509ObjectRef> for X509Object

source§

fn as_ref(&self) -> &X509ObjectRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<X509ObjectRef> for X509Object

source§

fn borrow(&self) -> &X509ObjectRef

Immutably borrows from an owned value. Read more
source§

impl Deref for X509Object

§

type Target = X509ObjectRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &X509ObjectRef

Dereferences the value.
source§

impl DerefMut for X509Object

source§

fn deref_mut(&mut self) -> &mut X509ObjectRef

Mutably dereferences the value.
source§

impl Drop for X509Object

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl ForeignType for X509Object

§

type CType = X509_OBJECT

The raw C type.
§

type Ref = X509ObjectRef

The type representing a reference to this type.
source§

unsafe fn from_ptr(ptr: *mut X509_OBJECT) -> X509Object

Constructs an instance of this type from its raw type.
source§

fn as_ptr(&self) -> *mut X509_OBJECT

Returns a raw pointer to the wrapped value.
source§

impl Stackable for X509Object

§

type StackType = stack_st_X509_OBJECT

The C stack type for this element. Read more
source§

impl Send for X509Object

source§

impl Sync for X509Object

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.