pub struct ProviderRef(/* private fields */);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
Source§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.