pub struct Bip340Secret(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for Bip340Secret
impl Clone for Bip340Secret
Source§fn clone(&self) -> Bip340Secret
fn clone(&self) -> Bip340Secret
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 Display for Bip340Secret
impl Display for Bip340Secret
Source§impl DisplayBaid64 for Bip340Secret
impl DisplayBaid64 for Bip340Secret
const HRI: &'static str = "bip340-priv"
const CHUNKING: bool = false
const PREFIX: bool = true
const EMBED_CHECKSUM: bool = true
const MNEMONIC: bool = false
fn to_baid64_payload(&self) -> [u8; 32]
fn to_baid64_string(&self) -> String
fn to_baid64_mnemonic(&self) -> String
fn display_baid64(&self) -> Baid64Display<LEN>
fn fmt_baid64(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl Eq for Bip340Secret
Source§impl From<Bip340Secret> for [u8; 32]
impl From<Bip340Secret> for [u8; 32]
Source§fn from(ssi: Bip340Secret) -> Self
fn from(ssi: Bip340Secret) -> Self
Converts to this type from the input type.
Source§impl FromBaid64Str for Bip340Secret
impl FromBaid64Str for Bip340Secret
fn from_baid64_str(s: &str) -> Result<Self, Baid64ParseError>
Source§impl FromStr for Bip340Secret
impl FromStr for Bip340Secret
Source§impl Hash for Bip340Secret
impl Hash for Bip340Secret
Source§impl Ord for Bip340Secret
impl Ord for Bip340Secret
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Bip340Secret
impl PartialEq for Bip340Secret
Source§fn eq(&self, other: &Bip340Secret) -> bool
fn eq(&self, other: &Bip340Secret) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Bip340Secret
impl PartialOrd for Bip340Secret
impl StructuralPartialEq for Bip340Secret
Auto Trait Implementations§
impl Freeze for Bip340Secret
impl RefUnwindSafe for Bip340Secret
impl Send for Bip340Secret
impl Sync for Bip340Secret
impl Unpin for Bip340Secret
impl UnsafeUnpin for Bip340Secret
impl UnwindSafe for Bip340Secret
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