[−][src]Enum fancy_garbling::error::FancyError
Errors that may occur when using the Fancy
trait. These errors are
API-usage errors, such as trying to add two Items
with different moduli.
Variants
UnequalModuli
Unequal moduli.
InvalidArg(String)
Invalid argument.
InvalidArgNum
Invalid number of arguments.
Fields of InvalidArgNum
InvalidArgMod
Invalid argument modulus.
Fields of InvalidArgMod
ArgNotBinary
Expected binary argument.
NoTruthTable
Truth table expected but none given.
InvalidTruthTable
Projection truth table is invalid.
UninitializedValue
Uninitialized value encountered.
Trait Implementations
impl From<FancyError> for DummyError
[src]
fn from(e: FancyError) -> DummyError
[src]
impl From<FancyError> for EvaluatorError
[src]
fn from(e: FancyError) -> Self
[src]
impl From<FancyError> for GarblerError
[src]
fn from(e: FancyError) -> Self
[src]
impl From<FancyError> for CircuitBuilderError
[src]
fn from(e: FancyError) -> Self
[src]
impl From<FancyError> for InformerError
[src]
fn from(e: FancyError) -> InformerError
[src]
impl Display for FancyError
[src]
impl Debug for FancyError
[src]
Auto Trait Implementations
impl Send for FancyError
impl Sync for FancyError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> Same<T> for T
type Output = T
Should always be Self