[][src]Struct wagyu_ethereum::extended_public_key::EthereumExtendedPublicKey

pub struct EthereumExtendedPublicKey<N: EthereumNetwork> { /* fields omitted */ }

Represents a Ethereum extended public key

Trait Implementations

impl<N: Clone + EthereumNetwork> Clone for EthereumExtendedPublicKey<N>[src]

impl<N: Debug + EthereumNetwork> Debug for EthereumExtendedPublicKey<N>[src]

impl<N: EthereumNetwork> Display for EthereumExtendedPublicKey<N>[src]

fn fmt(&self, fmt: &mut Formatter) -> Result[src]

BIP32 serialization format https://github.com/ethereum/bips/blob/master/bip-0032.mediawiki#serialization-format

impl<N: Eq + EthereumNetwork> Eq for EthereumExtendedPublicKey<N>[src]

impl<N: EthereumNetwork> ExtendedPublicKey for EthereumExtendedPublicKey<N>[src]

type Address = EthereumAddress

type DerivationPath = EthereumDerivationPath<N>

type ExtendedPrivateKey = EthereumExtendedPrivateKey<N>

type Format = EthereumFormat

type PublicKey = EthereumPublicKey

fn from_extended_private_key(
    extended_private_key: &Self::ExtendedPrivateKey
) -> Self
[src]

Returns the extended public key of the corresponding extended private key.

fn derive(
    &self,
    path: &Self::DerivationPath
) -> Result<Self, ExtendedPublicKeyError>
[src]

Returns the extended public key for the given derivation path.

fn to_public_key(&self) -> Self::PublicKey[src]

Returns the public key of the corresponding extended public key.

fn to_address(
    &self,
    _format: &Self::Format
) -> Result<Self::Address, AddressError>
[src]

Returns the address of the corresponding extended public key.

impl<N: EthereumNetwork> FromStr for EthereumExtendedPublicKey<N>[src]

type Err = ExtendedPublicKeyError

The associated error which can be returned from parsing.

impl<N: Ord + EthereumNetwork> Ord for EthereumExtendedPublicKey<N>[src]

impl<N: PartialEq + EthereumNetwork> PartialEq<EthereumExtendedPublicKey<N>> for EthereumExtendedPublicKey<N>[src]

impl<N: PartialOrd + EthereumNetwork> PartialOrd<EthereumExtendedPublicKey<N>> for EthereumExtendedPublicKey<N>[src]

impl<N: EthereumNetwork> StructuralEq for EthereumExtendedPublicKey<N>[src]

impl<N: EthereumNetwork> StructuralPartialEq for EthereumExtendedPublicKey<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for EthereumExtendedPublicKey<N> where
    N: RefUnwindSafe

impl<N> Send for EthereumExtendedPublicKey<N>

impl<N> Sync for EthereumExtendedPublicKey<N>

impl<N> Unpin for EthereumExtendedPublicKey<N> where
    N: Unpin

impl<N> UnwindSafe for EthereumExtendedPublicKey<N> where
    N: UnwindSafe

Blanket Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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