pub enum PartiallyMultisigned<T, MK> where
    T: Signable,
    MK: MultiKeychain
{ Incomplete { unchecked: UncheckedSigned<T, <MK as MultiKeychain>::PartialMultisignature>, }, Complete { multisigned: Multisigned<T, MK>, }, }
Expand description

Signable data together with a valid partial multisignature.

Instances of this type keep track whether the partial multisignautre is complete or not. If the multisignature is complete, you can get Multisigned by pattern matching against the variant PartiallyMultisigned::Complete.

Variants

Incomplete

Fields

Complete

Fields

multisigned: Multisigned<T, MK>

Implementations

Create a partially multisigned object.

Chceck if the partial multisignature is complete.

Get a reference to the multisigned object.

Return the object that is being signed.

Adds a signature and checks if multisignature is complete.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.