Enum bee_message::address::Address [−][src]
pub enum Address {
Ed25519(Ed25519Address),
}
Expand description
A generic address supporting different address kinds.
Variants
Ed25519(Ed25519Address)
Tuple Fields
An Ed25519 address.
Implementations
Tries to create an Address
from a Bech32 encoded string.
Encodes this address to a Bech32 string with the hrp (human readable part) argument as prefix.
Trait Implementations
Performs the conversion.
Returns the length of the packed bytes.
Packs the instance to bytes and writes them to the passed writer.
Reads bytes from the passed reader and unpacks them into an instance.
Packs the instance to bytes and writes them to a newly allocated vector.
Reads bytes from the passed reader and unpacks them into an instance. Applies syntactic checks. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Address
impl UnwindSafe for Address
Blanket Implementations
Mutably borrows from an owned value. Read more