pub struct SignersContainer(_);
Expand description

Container for multiple signers

Implementations§

Create a map of public keys to secret keys

Build a new signer container from a KeyMap

Also looks at the corresponding descriptor to determine the SignerContext to attach to the signers

Default constructor

Adds an external signer to the container for the specified id. Optionally returns the signer that was previously in the container, if any

Removes a signer from the container and returns it

Returns the list of identifiers of all the signers in the container

Returns the list of signers in the container, sorted by lowest to highest ordering

Finds the signer with lowest ordering for a given id in the container.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.