Struct openssl::x509::X509ExtensionRef
source · [−]pub struct X509ExtensionRef(_);
Expand description
Reference to X509Extension
.
Implementations
sourceimpl X509ExtensionRef
impl X509ExtensionRef
sourcepub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
Serializes the Extension to its standard DER encoding.
This corresponds to i2d_X509_EXTENSION
.
Trait Implementations
sourceimpl AsRef<X509ExtensionRef> for X509Extension
impl AsRef<X509ExtensionRef> for X509Extension
sourcefn as_ref(&self) -> &X509ExtensionRef
fn as_ref(&self) -> &X509ExtensionRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<X509ExtensionRef> for X509Extension
impl Borrow<X509ExtensionRef> for X509Extension
sourcefn borrow(&self) -> &X509ExtensionRef
fn borrow(&self) -> &X509ExtensionRef
Immutably borrows from an owned value. Read more
sourceimpl ForeignTypeRef for X509ExtensionRef
impl ForeignTypeRef for X509ExtensionRef
impl Send for X509ExtensionRef
impl Sync for X509ExtensionRef
Auto Trait Implementations
impl !RefUnwindSafe for X509ExtensionRef
impl Unpin for X509ExtensionRef
impl UnwindSafe for X509ExtensionRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more