pub struct Proof<F, G> { /* private fields */ }Expand description
A proof for the inner product argument.
Trait Implementations§
Source§impl<F: EncodeSize, G: EncodeSize> EncodeSize for Proof<F, G>
impl<F: EncodeSize, G: EncodeSize> EncodeSize for Proof<F, G>
Source§fn encode_size(&self) -> usize
fn encode_size(&self) -> usize
Returns the encoded size of this value (in bytes).
Source§fn encode_inline_size(&self) -> usize
fn encode_inline_size(&self) -> usize
Returns the encoded size excluding bytes passed to
BufsMut::push
during Write::write_bufs. Used to size the working buffer for inline
writes. Override alongside Write::write_bufs for types where large
Bytes fields go via push; failing to do so will over-allocate.Source§impl<F: PartialEq, G: PartialEq> PartialEq for Proof<F, G>
impl<F: PartialEq, G: PartialEq> PartialEq for Proof<F, G>
Source§impl<F: Read, G: Read> Read for Proof<F, G>
impl<F: Read, G: Read> Read for Proof<F, G>
Source§impl<F: Write, G: Write> Write for Proof<F, G>
impl<F: Write, G: Write> Write for Proof<F, G>
Source§fn write_bufs(&self, buf: &mut impl BufsMut)
fn write_bufs(&self, buf: &mut impl BufsMut)
Writes to a
BufsMut, allowing existing Bytes chunks to be
appended via BufsMut::push instead of written inline. Must encode
to the same format as Write::write. Defaults to Write::write.impl<F, G> StructuralPartialEq for Proof<F, G>
Auto Trait Implementations§
impl<F, G> Freeze for Proof<F, G>where
F: Freeze,
impl<F, G> RefUnwindSafe for Proof<F, G>where
F: RefUnwindSafe,
G: RefUnwindSafe,
impl<F, G> Send for Proof<F, G>
impl<F, G> Sync for Proof<F, G>
impl<F, G> Unpin for Proof<F, G>
impl<F, G> UnsafeUnpin for Proof<F, G>where
F: UnsafeUnpin,
impl<F, G> UnwindSafe for Proof<F, G>where
F: UnwindSafe,
G: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Encode for Twhere
T: Write + EncodeSize,
impl<T> Encode for Twhere
T: Write + EncodeSize,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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