[][src]Enum bdk::KeychainKind

pub enum KeychainKind {
    External,
    Internal,
}

Types of keychains

Variants

External

External

Internal

Internal, usually used for change outputs

Implementations

impl KeychainKind[src]

pub fn as_byte(&self) -> u8[src]

Return KeychainKind as a byte

Trait Implementations

impl AsRef<[u8]> for KeychainKind[src]

impl Clone for KeychainKind[src]

impl Copy for KeychainKind[src]

impl Debug for KeychainKind[src]

impl<'de> Deserialize<'de> for KeychainKind[src]

impl Eq for KeychainKind[src]

impl Hash for KeychainKind[src]

impl PartialEq<KeychainKind> for KeychainKind[src]

impl Serialize for KeychainKind[src]

impl StructuralEq for KeychainKind[src]

impl StructuralPartialEq for KeychainKind[src]

Auto Trait Implementations

impl RefUnwindSafe for KeychainKind[src]

impl Send for KeychainKind[src]

impl Sync for KeychainKind[src]

impl Unpin for KeychainKind[src]

impl UnwindSafe for KeychainKind[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Base32Len for T where
    T: AsRef<[u8]>, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'f, T> CheckBase32<Vec<u5, Global>> for T where
    T: AsRef<[u8]>, 

type Err = Error

Error type if conversion fails

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToBase32 for T where
    T: AsRef<[u8]>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,