pub struct SignerWires {
pub public_param: [Wire; 2],
pub merkle_root: [Wire; 2],
pub signature: XmssSignatureWires,
}Expand description
One signer’s public key and signature wires.
Fields§
§public_param: [Wire; 2]§merkle_root: [Wire; 2]§signature: XmssSignatureWiresImplementations§
Source§impl SignerWires
impl SignerWires
Sourcepub fn new_inout(builder: &CircuitBuilder) -> Self
pub fn new_inout(builder: &CircuitBuilder) -> Self
Allocates a signer whose key is public and whose signature is private.
Sourcepub fn new_witness(builder: &CircuitBuilder) -> Self
pub fn new_witness(builder: &CircuitBuilder) -> Self
Allocates a signer whose key is private as well.
A key held privately reaches the statement only through a commitment to the whole set.
Trait Implementations§
Source§impl Clone for SignerWires
impl Clone for SignerWires
Source§fn clone(&self) -> SignerWires
fn clone(&self) -> SignerWires
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SignerWires
impl RefUnwindSafe for SignerWires
impl Send for SignerWires
impl Sync for SignerWires
impl Unpin for SignerWires
impl UnsafeUnpin for SignerWires
impl UnwindSafe for SignerWires
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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