[][src]Enum forest_address::Protocol

#[repr(u8)]pub enum Protocol {
    ID,
    Secp256k1,
    Actor,
    BLS,
}

Protocol defines the addressing protocol used to derive data to an address

Variants

ID

ID protocol addressing

Secp256k1

SECP256K1 key addressing

Actor

Actor protocol addressing

BLS

BLS key addressing

Trait Implementations

impl Clone for Protocol[src]

impl Copy for Protocol[src]

impl Debug for Protocol[src]

impl Display for Protocol[src]

allows conversion of Protocol value to string

impl Eq for Protocol[src]

impl<'_> From<&'_ Payload> for Protocol[src]

impl From<Payload> for Protocol[src]

impl FromPrimitive for Protocol[src]

impl Hash for Protocol[src]

impl PartialEq<Protocol> for Protocol[src]

impl StructuralEq for Protocol[src]

impl StructuralPartialEq for Protocol[src]

Auto Trait Implementations

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.