pub struct P256PrivateKey(/* private fields */);Implementations§
Source§impl P256PrivateKey
impl P256PrivateKey
pub fn from_bytes(bytes: [u8; 32]) -> Result<Self, WrappedSecretError>
pub fn from_slice(bytes: &[u8]) -> Result<Self, WrappedSecretError>
pub fn to_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for P256PrivateKey
impl Clone for P256PrivateKey
Source§fn clone(&self) -> P256PrivateKey
fn clone(&self) -> P256PrivateKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for P256PrivateKey
impl Debug for P256PrivateKey
impl Eq for P256PrivateKey
Source§impl PartialEq for P256PrivateKey
impl PartialEq for P256PrivateKey
impl StructuralPartialEq for P256PrivateKey
Auto Trait Implementations§
impl Freeze for P256PrivateKey
impl RefUnwindSafe for P256PrivateKey
impl Send for P256PrivateKey
impl Sync for P256PrivateKey
impl Unpin for P256PrivateKey
impl UnsafeUnpin for P256PrivateKey
impl UnwindSafe for P256PrivateKey
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