Struct rgbstd::InvalidFieldElement
source · pub struct InvalidFieldElement;Expand description
value provided for a blinding factor overflows prime field order for Secp256k1 curve.
Trait Implementations§
source§impl Clone for InvalidFieldElement
impl Clone for InvalidFieldElement
source§fn clone(&self) -> InvalidFieldElement
fn clone(&self) -> InvalidFieldElement
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 InvalidFieldElement
impl Debug for InvalidFieldElement
source§impl Display for InvalidFieldElement
impl Display for InvalidFieldElement
source§impl Error for InvalidFieldElement
impl Error for InvalidFieldElement
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<Error> for InvalidFieldElement
impl From<Error> for InvalidFieldElement
source§fn from(v: Error) -> InvalidFieldElement
fn from(v: Error) -> InvalidFieldElement
Converts to this type from the input type.
source§impl From<InvalidFieldElement> for BlindingParseError
impl From<InvalidFieldElement> for BlindingParseError
source§fn from(v: InvalidFieldElement) -> BlindingParseError
fn from(v: InvalidFieldElement) -> BlindingParseError
Converts to this type from the input type.
source§impl Hash for InvalidFieldElement
impl Hash for InvalidFieldElement
source§impl PartialEq for InvalidFieldElement
impl PartialEq for InvalidFieldElement
source§fn eq(&self, other: &InvalidFieldElement) -> bool
fn eq(&self, other: &InvalidFieldElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for InvalidFieldElement
impl Eq for InvalidFieldElement
impl StructuralEq for InvalidFieldElement
impl StructuralPartialEq for InvalidFieldElement
Auto Trait Implementations§
impl RefUnwindSafe for InvalidFieldElement
impl Send for InvalidFieldElement
impl Sync for InvalidFieldElement
impl Unpin for InvalidFieldElement
impl UnwindSafe for InvalidFieldElement
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.