[][src]Enum web3::types::RecoveryMessage

pub enum RecoveryMessage {
    Data(Vec<u8>),
    Hash(H256),
}

Recovery message data.

The message data can either be a binary message that is first hashed according to EIP-191 and then recovered based on the signature or a precomputed hash.

Variants

Data(Vec<u8>)

Message bytes

Hash(H256)

Message hash

Trait Implementations

impl Clone for RecoveryMessage[src]

impl Debug for RecoveryMessage[src]

impl<'_> From<&'_ [u8]> for RecoveryMessage[src]

impl<'_> From<&'_ str> for RecoveryMessage[src]

impl From<[u8; 32]> for RecoveryMessage[src]

impl From<H256> for RecoveryMessage[src]

impl From<String> for RecoveryMessage[src]

impl From<Vec<u8>> for RecoveryMessage[src]

impl PartialEq<RecoveryMessage> for RecoveryMessage[src]

impl StructuralPartialEq for RecoveryMessage[src]

Auto Trait Implementations

impl RefUnwindSafe for RecoveryMessage

impl Send for RecoveryMessage

impl Sync for RecoveryMessage

impl Unpin for RecoveryMessage

impl UnwindSafe for RecoveryMessage

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> Instrument for T[src]

impl<T> Instrument 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, 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>,