Struct solana_sdk::derivation_path::DerivationPath[][src]

pub struct DerivationPath(_);

Implementations

impl DerivationPath[src]

pub fn from_key_str(path: &str) -> Result<Self, DerivationPathError>[src]

pub fn new_bip44(account: Option<u32>, change: Option<u32>) -> Self[src]

pub fn account(&self) -> Option<&ChildIndex>[src]

pub fn change(&self) -> Option<&ChildIndex>[src]

pub fn path(&self) -> &[ChildIndex]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

pub fn get_query(&self) -> String[src]

pub fn from_uri_key_query(
    uri: &URIReference<'_>
) -> Result<Option<Self>, DerivationPathError>
[src]

pub fn from_uri_any_query(
    uri: &URIReference<'_>
) -> Result<Option<Self>, DerivationPathError>
[src]

Trait Implementations

impl AsRef<[ChildIndex]> for DerivationPath[src]

impl Clone for DerivationPath[src]

impl Debug for DerivationPath[src]

impl Default for DerivationPath[src]

impl<'a> IntoIterator for &'a DerivationPath[src]

type IntoIter = Iter<'a, ChildIndex>

Which kind of iterator are we turning this into?

type Item = &'a ChildIndex

The type of the elements being iterated over.

impl PartialEq<DerivationPath> for DerivationPath[src]

impl StructuralPartialEq for DerivationPath[src]

impl TryFrom<&'_ str> for DerivationPath[src]

type Error = DerivationPathError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> AbiExample for T[src]

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,