Struct openssl::x509::AccessDescriptionRef
source · [−]pub struct AccessDescriptionRef(_);
Expand description
Reference to AccessDescription
.
Implementations
sourceimpl AccessDescriptionRef
impl AccessDescriptionRef
sourcepub fn method(&self) -> &Asn1ObjectRef
pub fn method(&self) -> &Asn1ObjectRef
Returns the access method OID.
pub fn location(&self) -> &GeneralNameRef
Trait Implementations
sourceimpl AsRef<AccessDescriptionRef> for AccessDescription
impl AsRef<AccessDescriptionRef> for AccessDescription
sourcefn as_ref(&self) -> &AccessDescriptionRef
fn as_ref(&self) -> &AccessDescriptionRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<AccessDescriptionRef> for AccessDescription
impl Borrow<AccessDescriptionRef> for AccessDescription
sourcefn borrow(&self) -> &AccessDescriptionRef
fn borrow(&self) -> &AccessDescriptionRef
Immutably borrows from an owned value. Read more
sourceimpl ForeignTypeRef for AccessDescriptionRef
impl ForeignTypeRef for AccessDescriptionRef
type CType = ACCESS_DESCRIPTION
type CType = ACCESS_DESCRIPTION
The raw C type.
sourceunsafe 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.
sourceunsafe 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.
impl Send for AccessDescriptionRef
impl Sync for AccessDescriptionRef
Auto Trait Implementations
impl !RefUnwindSafe for AccessDescriptionRef
impl Unpin for AccessDescriptionRef
impl UnwindSafe for AccessDescriptionRef
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