pub enum TrustedSetupError {
SerializationError(SerializationError),
HexDecodeError(FromHexError),
BadHexPrefix,
PointCountMismatch(usize, usize),
InvalidSubgroup,
IntoFailed,
}
Expand description
Errors from parsing the trusted setup.
Variants§
SerializationError(SerializationError)
HexDecodeError(FromHexError)
BadHexPrefix
PointCountMismatch(usize, usize)
InvalidSubgroup
IntoFailed
Trait Implementations§
Source§impl Debug for TrustedSetupError
impl Debug for TrustedSetupError
Source§impl From<FromHexError> for TrustedSetupError
impl From<FromHexError> for TrustedSetupError
Source§fn from(e: FromHexError) -> Self
fn from(e: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<SerializationError> for TrustedSetupError
impl From<SerializationError> for TrustedSetupError
Source§fn from(e: SerializationError) -> Self
fn from(e: SerializationError) -> Self
Converts to this type from the input type.
Source§impl From<TrustedSetupError> for HintsError
impl From<TrustedSetupError> for HintsError
Source§fn from(e: TrustedSetupError) -> Self
fn from(e: TrustedSetupError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TrustedSetupError
impl !RefUnwindSafe for TrustedSetupError
impl Send for TrustedSetupError
impl Sync for TrustedSetupError
impl Unpin for TrustedSetupError
impl !UnwindSafe for TrustedSetupError
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