Struct cryptimitives::key::util::TestSecretKey
source · pub struct TestSecretKey(/* private fields */);
Trait Implementations§
source§impl Clone for TestSecretKey
impl Clone for TestSecretKey
source§fn clone(&self) -> TestSecretKey
fn clone(&self) -> TestSecretKey
Returns a copy of the value. Read more
1.0.0 · 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 TestSecretKey
impl Debug for TestSecretKey
source§impl FromBytes for TestSecretKey
impl FromBytes for TestSecretKey
type E = KeyPairError
source§fn from_bytes(bytes: &[u8]) -> Result<Self, KeyPairError>where
Self: Sized,
fn from_bytes(bytes: &[u8]) -> Result<Self, KeyPairError>where
Self: Sized,
Construct a value from a slice of bytes.
source§impl Generate for TestSecretKey
impl Generate for TestSecretKey
source§impl SecretKey for TestSecretKey
impl SecretKey for TestSecretKey
Auto Trait Implementations§
impl RefUnwindSafe for TestSecretKey
impl Send for TestSecretKey
impl Sync for TestSecretKey
impl Unpin for TestSecretKey
impl UnwindSafe for TestSecretKey
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