Enum ethers_iqkms::types::RecoveryMessage
source · [−]Expand description
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, Global>)
Message bytes
Hash(H256)
Message hash
Trait Implementations
sourceimpl Clone for RecoveryMessage
impl Clone for RecoveryMessage
sourcefn clone(&self) -> RecoveryMessage
fn clone(&self) -> RecoveryMessage
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RecoveryMessage
impl Debug for RecoveryMessage
sourceimpl From<&[u8]> for RecoveryMessage
impl From<&[u8]> for RecoveryMessage
sourcefn from(s: &[u8]) -> RecoveryMessage
fn from(s: &[u8]) -> RecoveryMessage
Converts to this type from the input type.
sourceimpl From<&str> for RecoveryMessage
impl From<&str> for RecoveryMessage
sourcefn from(s: &str) -> RecoveryMessage
fn from(s: &str) -> RecoveryMessage
Converts to this type from the input type.
sourceimpl From<[u8; 32]> for RecoveryMessage
impl From<[u8; 32]> for RecoveryMessage
sourcefn from(hash: [u8; 32]) -> RecoveryMessage
fn from(hash: [u8; 32]) -> RecoveryMessage
Converts to this type from the input type.
sourceimpl From<H256> for RecoveryMessage
impl From<H256> for RecoveryMessage
sourcefn from(hash: H256) -> RecoveryMessage
fn from(hash: H256) -> RecoveryMessage
Converts to this type from the input type.
sourceimpl From<String> for RecoveryMessage
impl From<String> for RecoveryMessage
sourcefn from(s: String) -> RecoveryMessage
fn from(s: String) -> RecoveryMessage
Converts to this type from the input type.
sourceimpl PartialEq<RecoveryMessage> for RecoveryMessage
impl PartialEq<RecoveryMessage> for RecoveryMessage
sourcefn eq(&self, other: &RecoveryMessage) -> bool
fn eq(&self, other: &RecoveryMessage) -> bool
impl Eq for RecoveryMessage
impl StructuralEq for RecoveryMessage
impl StructuralPartialEq for RecoveryMessage
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request