Enum offchain::identifier::HumanReadablePrefix [−][src]
pub enum HumanReadablePrefix {
DM,
PDM,
TDM,
}Expand description
Defines the available HRPs (human readable prefix) as defined in https://dip.diem.com/dip-5/#format
Variants
Implementations
Trait Implementations
type Err = IntentIdentifierError
type Err = IntentIdentifierError
The associated error which can be returned from parsing.
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 HumanReadablePrefix
impl Send for HumanReadablePrefix
impl Sync for HumanReadablePrefix
impl Unpin for HumanReadablePrefix
impl UnwindSafe for HumanReadablePrefix
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self