Enum bdk::KeychainKind
source · pub enum KeychainKind {
External,
Internal,
}
Expand description
Types of keychains
Variants§
Implementations§
source§impl KeychainKind
impl KeychainKind
sourcepub fn as_byte(&self) -> u8
pub fn as_byte(&self) -> u8
Return KeychainKind
as a byte
Trait Implementations§
source§impl AsRef<[u8]> for KeychainKind
impl AsRef<[u8]> for KeychainKind
source§impl Clone for KeychainKind
impl Clone for KeychainKind
source§fn clone(&self) -> KeychainKind
fn clone(&self) -> KeychainKind
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 KeychainKind
impl Debug for KeychainKind
source§impl<'de> Deserialize<'de> for KeychainKind
impl<'de> Deserialize<'de> for KeychainKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for KeychainKind
impl Hash for KeychainKind
source§impl PartialEq<KeychainKind> for KeychainKind
impl PartialEq<KeychainKind> for KeychainKind
source§fn eq(&self, other: &KeychainKind) -> bool
fn eq(&self, other: &KeychainKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KeychainKind
impl Serialize for KeychainKind
impl Copy for KeychainKind
impl Eq for KeychainKind
impl StructuralEq for KeychainKind
impl StructuralPartialEq for KeychainKind
Auto Trait Implementations§
impl RefUnwindSafe for KeychainKind
impl Send for KeychainKind
impl Sync for KeychainKind
impl Unpin for KeychainKind
impl UnwindSafe for KeychainKind
Blanket Implementations§
§impl<T> Base32Len for Twhere
T: AsRef<[u8]>,
impl<T> Base32Len for Twhere
T: AsRef<[u8]>,
§fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length