pub struct SecretKey { /* private fields */ }Expand description
New owned buffer
Construct the reference version of this type through the algorithm API functions.
Optional support for serde if that feature is enabled.
Implementations§
Trait Implementations§
Source§impl<'a> From<&'a SecretKey> for SecretKeyRef<'a>
impl<'a> From<&'a SecretKey> for SecretKeyRef<'a>
Source§fn from(buf: &'a SecretKey) -> SecretKeyRef<'a>
fn from(buf: &'a SecretKey) -> SecretKeyRef<'a>
Converts to this type from the input type.
impl Eq for SecretKey
impl StructuralPartialEq for SecretKey
Auto Trait Implementations§
impl Freeze for SecretKey
impl RefUnwindSafe for SecretKey
impl Send for SecretKey
impl Sync for SecretKey
impl Unpin for SecretKey
impl UnwindSafe for SecretKey
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