Struct bc::InvalidPubkey
source · pub struct InvalidPubkey(pub Bytes32);
Tuple Fields§
§0: Bytes32
Trait Implementations§
source§impl Clone for InvalidPubkey
impl Clone for InvalidPubkey
source§fn clone(&self) -> InvalidPubkey
fn clone(&self) -> InvalidPubkey
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 InvalidPubkey
impl Debug for InvalidPubkey
source§impl Display for InvalidPubkey
impl Display for InvalidPubkey
source§impl Error for InvalidPubkey
impl Error for InvalidPubkey
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<InvalidPubkey> for DecodeError
impl From<InvalidPubkey> for DecodeError
source§fn from(e: InvalidPubkey) -> Self
fn from(e: InvalidPubkey) -> Self
Converts to this type from the input type.
source§impl From<InvalidPubkey> for String
impl From<InvalidPubkey> for String
source§fn from(err: InvalidPubkey) -> Self
fn from(err: InvalidPubkey) -> Self
Converts to this type from the input type.
source§impl PartialEq for InvalidPubkey
impl PartialEq for InvalidPubkey
source§fn eq(&self, other: &InvalidPubkey) -> bool
fn eq(&self, other: &InvalidPubkey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InvalidPubkey
impl Eq for InvalidPubkey
impl StructuralEq for InvalidPubkey
impl StructuralPartialEq for InvalidPubkey
Auto Trait Implementations§
impl RefUnwindSafe for InvalidPubkey
impl Send for InvalidPubkey
impl Sync for InvalidPubkey
impl Unpin for InvalidPubkey
impl UnwindSafe for InvalidPubkey
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
§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.