pub enum UnsupportedSignerOperation {
SignHash,
SignMessage,
SignTransaction,
SignTypedData,
}
Expand description
An unsupported signer operation.
Variants§
SignHash
sign_hash
is not supported by the signer.
SignMessage
sign_message
is not supported by the signer.
SignTransaction
sign_transaction
is not supported by the signer.
SignTypedData
sign_typed_data
is not supported by the signer.
Implementations§
Trait Implementations§
source§impl Clone for UnsupportedSignerOperation
impl Clone for UnsupportedSignerOperation
source§fn clone(&self) -> UnsupportedSignerOperation
fn clone(&self) -> UnsupportedSignerOperation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnsupportedSignerOperation
impl Debug for UnsupportedSignerOperation
source§impl Display for UnsupportedSignerOperation
impl Display for UnsupportedSignerOperation
source§impl Ord for UnsupportedSignerOperation
impl Ord for UnsupportedSignerOperation
source§fn cmp(&self, other: &UnsupportedSignerOperation) -> Ordering
fn cmp(&self, other: &UnsupportedSignerOperation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UnsupportedSignerOperation
impl PartialEq for UnsupportedSignerOperation
source§fn eq(&self, other: &UnsupportedSignerOperation) -> bool
fn eq(&self, other: &UnsupportedSignerOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UnsupportedSignerOperation
impl PartialOrd for UnsupportedSignerOperation
source§fn partial_cmp(&self, other: &UnsupportedSignerOperation) -> Option<Ordering>
fn partial_cmp(&self, other: &UnsupportedSignerOperation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for UnsupportedSignerOperation
impl Eq for UnsupportedSignerOperation
impl StructuralPartialEq for UnsupportedSignerOperation
Auto Trait Implementations§
impl Freeze for UnsupportedSignerOperation
impl RefUnwindSafe for UnsupportedSignerOperation
impl Send for UnsupportedSignerOperation
impl Sync for UnsupportedSignerOperation
impl Unpin for UnsupportedSignerOperation
impl UnwindSafe for UnsupportedSignerOperation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
SignHash
: 0 bytesSignMessage
: 0 bytesSignTransaction
: 0 bytesSignTypedData
: 0 bytes