pub struct Evaluator<W> { /* private fields */ }Expand description
The garbled circuit evaluator.
This is the party that consumes the garbled circuit produced by a
crate::Garbler.
Implementations§
Trait Implementations§
Source§impl<W: BinaryWireLabel> FancyBinary for Evaluator<W>
impl<W: BinaryWireLabel> FancyBinary for Evaluator<W>
Source§impl<W: WireLabel<F2>> FancyOutput<F2> for Evaluator<W>
impl<W: WireLabel<F2>> FancyOutput<F2> for Evaluator<W>
Auto Trait Implementations§
impl<W> Freeze for Evaluator<W>where
W: Freeze,
impl<W> RefUnwindSafe for Evaluator<W>where
W: RefUnwindSafe,
impl<W> Send for Evaluator<W>where
W: Send,
impl<W> Sync for Evaluator<W>where
W: Sync,
impl<W> Unpin for Evaluator<W>where
W: Unpin,
impl<W> UnsafeUnpin for Evaluator<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for Evaluator<W>where
W: UnwindSafe,
Blanket Implementations§
§impl<F> BinaryOutput for Fwhere
F: FancyOutput<F2>,
impl<F> BinaryOutput for Fwhere
F: FancyOutput<F2>,
§impl<F> BinaryReceive for Fwhere
F: FancyReceive<F2>,
impl<F> BinaryReceive for Fwhere
F: FancyReceive<F2>,
§fn bin_receive<const N: usize>(
&mut self,
channel: &mut Channel<'_>,
) -> Result<BinaryBundle<Self::Item, N>, Error>
fn bin_receive<const N: usize>( &mut self, channel: &mut Channel<'_>, ) -> Result<BinaryBundle<Self::Item, N>, Error>
Receive a [
BinaryBundle].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
§impl<T> IsSameType<T> for T
impl<T> IsSameType<T> for T
§type EqualityProposition = TrueEqualityProposition
type EqualityProposition = TrueEqualityProposition
The [
EqualityProposition] that Self == T