pub enum EvaluatorError {
NotEnoughGarblerInputs,
NotEnoughEvaluatorInputs,
DecodingFailed,
CommunicationError(String),
FancyError(FancyError),
}Expand description
Errors from the evaluator.
Variants§
NotEnoughGarblerInputs
Not enough garbler inputs provided.
NotEnoughEvaluatorInputs
Not enough evaluator inputs provided.
DecodingFailed
Decoding failed.
CommunicationError(String)
A communication error has occurred.
FancyError(FancyError)
A fancy error has occurred.
Trait Implementations§
Source§impl Debug for EvaluatorError
impl Debug for EvaluatorError
Source§impl Display for EvaluatorError
impl Display for EvaluatorError
Source§impl From<Error> for EvaluatorError
impl From<Error> for EvaluatorError
Source§impl From<EvaluatorError> for TwopacError
impl From<EvaluatorError> for TwopacError
Source§fn from(e: EvaluatorError) -> TwopacError
fn from(e: EvaluatorError) -> TwopacError
Converts to this type from the input type.
Source§impl From<FancyError> for EvaluatorError
impl From<FancyError> for EvaluatorError
Source§fn from(e: FancyError) -> Self
fn from(e: FancyError) -> Self
Converts to this type from the input type.
Source§impl From<RecvError> for EvaluatorError
impl From<RecvError> for EvaluatorError
Source§impl From<TwopacError> for EvaluatorError
impl From<TwopacError> for EvaluatorError
Source§fn from(e: TwopacError) -> EvaluatorError
fn from(e: TwopacError) -> EvaluatorError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EvaluatorError
impl RefUnwindSafe for EvaluatorError
impl Send for EvaluatorError
impl Sync for EvaluatorError
impl Unpin for EvaluatorError
impl UnwindSafe for EvaluatorError
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§impl<T> IsSameType<T> for T
impl<T> IsSameType<T> for T
§type EqualityProposition = TrueEqualityProposition
type EqualityProposition = TrueEqualityProposition
The [
EqualityProposition] that Self == T