[][src]Struct schnorr::SignerAwaitingShares

pub struct SignerAwaitingShares<C: MuSigContext> { /* fields omitted */ }

State of the party when awaiting signature shares from other parties.

Methods

impl<'t, C: MuSigContext> SignerAwaitingShares<C>[src]

pub fn receive_trusted_shares(self, shares: Vec<Scalar>) -> Signature[src]

Assemble trusted signature shares (e.g. when all keys owned by one signer)

pub fn receive_shares(
    self,
    shares: Vec<Scalar>
) -> Result<Signature, SchnorrError>
[src]

Verify and assemble signature shares.

Auto Trait Implementations

impl<C> RefUnwindSafe for SignerAwaitingShares<C> where
    C: RefUnwindSafe

impl<C> Send for SignerAwaitingShares<C> where
    C: Send

impl<C> Sync for SignerAwaitingShares<C> where
    C: Sync

impl<C> Unpin for SignerAwaitingShares<C> where
    C: Unpin

impl<C> UnwindSafe for SignerAwaitingShares<C> where
    C: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,