pub struct SecretKey(/* private fields */);Implementations§
Trait Implementations§
Source§impl Blind for SecretKey
impl Blind for SecretKey
Source§impl DiffieHellman for SecretKey
impl DiffieHellman for SecretKey
Source§impl From<&SecretKey> for EphemeralSecretKey
impl From<&SecretKey> for EphemeralSecretKey
Source§impl From<EphemeralSecretKey> for SecretKey
impl From<EphemeralSecretKey> for SecretKey
Source§fn from(esk: EphemeralSecretKey) -> Self
fn from(esk: EphemeralSecretKey) -> Self
Converts to this type from the input type.
Source§impl From<SecretKey> for EphemeralSecretKey
impl From<SecretKey> for EphemeralSecretKey
Source§impl FromEntropy for SecretKey
impl FromEntropy for SecretKey
Source§impl WithPhrase for SecretKey
impl WithPhrase for SecretKey
type E = KeyPairError
Source§fn from_phrase<'a, S: Into<Cow<'a, str>>>(
s: S,
password: Option<&str>,
) -> Result<Self, Self::E>where
Self: Sized,
fn from_phrase<'a, S: Into<Cow<'a, str>>>(
s: S,
password: Option<&str>,
) -> Result<Self, Self::E>where
Self: Sized,
Construct a value from mnemonic phrase and optional password.
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