Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Executes the destructor for this type. Read more
Deserialize a IdentityKeyPair
from bytes.
bytes
: an &[u8]
consisting of byte representations of
first a SecretKey
and then the corresponding PublicKey
.
A Result
whose okay value is a Keypair
or whose error value
is an KeypairError
describing the error that occurred.
Get a PublicKey
of KeyPair
.
Convert a key into a vec of bytes.
Zero out this object from memory using Rust intrinsics which ensure the
zeroization operation is not “optimized away” by the compiler. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.