pub enum DummyError {
NotEnoughGarblerInputs,
NotEnoughEvaluatorInputs,
EncodingError,
FancyError(FancyError),
}Expand description
Errors from the dummy fancy object.
Variants§
NotEnoughGarblerInputs
Not enough garbler inputs provided.
NotEnoughEvaluatorInputs
Not enough evaluator inputs provided.
EncodingError
Encoding error.
FancyError(FancyError)
A fancy error has occurred.
Trait Implementations§
Source§impl Debug for DummyError
impl Debug for DummyError
Source§impl Display for DummyError
impl Display for DummyError
Source§impl From<FancyError> for DummyError
impl From<FancyError> for DummyError
Source§fn from(e: FancyError) -> DummyError
fn from(e: FancyError) -> DummyError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DummyError
impl RefUnwindSafe for DummyError
impl Send for DummyError
impl Sync for DummyError
impl Unpin for DummyError
impl UnwindSafe for DummyError
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