Struct openssl::asn1::Asn1ObjectRef
source · pub struct Asn1ObjectRef(/* private fields */);
Expand description
A reference to an Asn1Object
.
Implementations§
Trait Implementations§
source§impl AsRef<Asn1ObjectRef> for Asn1Object
impl AsRef<Asn1ObjectRef> for Asn1Object
source§fn as_ref(&self) -> &Asn1ObjectRef
fn as_ref(&self) -> &Asn1ObjectRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<Asn1ObjectRef> for Asn1Object
impl Borrow<Asn1ObjectRef> for Asn1Object
source§fn borrow(&self) -> &Asn1ObjectRef
fn borrow(&self) -> &Asn1ObjectRef
Immutably borrows from an owned value. Read more
source§impl Debug for Asn1ObjectRef
impl Debug for Asn1ObjectRef
source§impl Display for Asn1ObjectRef
impl Display for Asn1ObjectRef
source§impl ForeignTypeRef for Asn1ObjectRef
impl ForeignTypeRef for Asn1ObjectRef
source§type CType = ASN1_OBJECT
type CType = ASN1_OBJECT
The raw C type.
source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
source§unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
source§impl ToOwned for Asn1ObjectRef
impl ToOwned for Asn1ObjectRef
source§type Owned = Asn1Object
type Owned = Asn1Object
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Asn1Object
fn to_owned(&self) -> Asn1Object
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for Asn1ObjectRef
impl Sync for Asn1ObjectRef
Auto Trait Implementations§
impl !Freeze for Asn1ObjectRef
impl !RefUnwindSafe for Asn1ObjectRef
impl Unpin for Asn1ObjectRef
impl UnwindSafe for Asn1ObjectRef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more