Enum tor_llcrypto::pk::keymanip::BlindingError
source · #[non_exhaustive]pub enum BlindingError {
BadPubkey,
BlindingFailed,
}
Expand description
An error occurred during a key-blinding operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BadPubkey
A bad public key was provided for blinding
BlindingFailed
Dalek failed the scalar multiplication
Trait Implementations§
source§impl Debug for BlindingError
impl Debug for BlindingError
source§impl Display for BlindingError
impl Display for BlindingError
source§impl Error for BlindingError
impl Error for BlindingError
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 BlindingError
impl From<Error> for BlindingError
source§fn from(_: SignatureError) -> BlindingError
fn from(_: SignatureError) -> BlindingError
Converts to this type from the input type.
source§impl PartialEq for BlindingError
impl PartialEq for BlindingError
source§fn eq(&self, other: &BlindingError) -> bool
fn eq(&self, other: &BlindingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BlindingError
impl StructuralPartialEq for BlindingError
Auto Trait Implementations§
impl Freeze for BlindingError
impl RefUnwindSafe for BlindingError
impl Send for BlindingError
impl Sync for BlindingError
impl Unpin for BlindingError
impl UnwindSafe for BlindingError
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 more