Enum ibc_proto::cosmos::tx::signing::v1beta1::SignMode[][src]

#[repr(i32)]pub enum SignMode {
    Unspecified,
    Direct,
    Textual,
    LegacyAminoJson,
}

SignMode represents a signing mode with its own security guarantees.

Variants

Unspecified

SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected

Direct

SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx

Textual

SIGN_MODE_TEXTUAL is a future signing mode that will verify some human-readable textual representation on top of the binary representation from SIGN_MODE_DIRECT

LegacyAminoJson

SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future

Implementations

impl SignMode[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of SignMode.

pub fn from_i32(value: i32) -> Option<SignMode>[src]

Converts an i32 to a SignMode, or None if value is not a valid variant.

Trait Implementations

impl Clone for SignMode[src]

impl Copy for SignMode[src]

impl Debug for SignMode[src]

impl Default for SignMode[src]

impl Eq for SignMode[src]

impl Hash for SignMode[src]

impl Ord for SignMode[src]

impl PartialEq<SignMode> for SignMode[src]

impl PartialOrd<SignMode> for SignMode[src]

impl StructuralEq for SignMode[src]

impl StructuralPartialEq for SignMode[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

impl<T> WithSubscriber for T[src]