Enum aleph_bft::PartiallyMultisigned[][src]

pub enum PartiallyMultisigned<'a, T: Signable, MK: MultiKeychain> {
    Incomplete {
        unchecked: UncheckedSigned<T, MK::PartialMultisignature>,
    },
    Complete {
        multisigned: Multisigned<'a, 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 of Incomplete

unchecked: UncheckedSigned<T, MK::PartialMultisignature>
Complete

Fields of Complete

multisigned: Multisigned<'a, 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

Performs the conversion.

Performs the conversion.

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.