Struct openssl::provider::ProviderRef
source · 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
§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.
impl Send for ProviderRef
impl Sync for ProviderRef
Auto Trait Implementations§
impl !Freeze for ProviderRef
impl !RefUnwindSafe for ProviderRef
impl Unpin for ProviderRef
impl UnwindSafe for ProviderRef
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