Struct openssl::provider::ProviderRef
source · pub struct ProviderRef(_);
Expand description
A reference to a Provider
.
Trait Implementations§
source§impl AsRef<ProviderRef> for Provider
impl AsRef<ProviderRef> for Provider
source§fn as_ref(&self) -> &ProviderRef
fn as_ref(&self) -> &ProviderRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<ProviderRef> for Provider
impl Borrow<ProviderRef> for Provider
source§fn borrow(&self) -> &ProviderRef
fn borrow(&self) -> &ProviderRef
Immutably borrows from an owned value. Read more
source§impl ForeignTypeRef for ProviderRef
impl ForeignTypeRef for ProviderRef
§type CType = OSSL_PROVIDER
type CType = OSSL_PROVIDER
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.