Struct bdk::wallet::signer::SignersContainer [−][src]
pub struct SignersContainer(_);
Expand description
Container for multiple signers
Implementations
Create a map of public keys to secret keys
pub fn add_external(
&mut self,
id: SignerId,
ordering: SignerOrdering,
signer: Arc<dyn Signer>
) -> Option<Arc<dyn Signer>>
[src]
pub fn add_external(
&mut self,
id: SignerId,
ordering: SignerOrdering,
signer: Arc<dyn Signer>
) -> Option<Arc<dyn Signer>>
[src]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
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for SignersContainer
impl Send for SignersContainer
impl Sync for SignersContainer
impl Unpin for SignersContainer
impl !UnwindSafe for SignersContainer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V