pub enum MultiSigSubcommand {
Begin {
event: PathBuf,
signers: Vec<String>,
output: PathBuf,
},
Sign {
unsigned: PathBuf,
key_alias: String,
index: u32,
output: PathBuf,
},
Combine {
unsigned: PathBuf,
partials: Vec<PathBuf>,
threshold: String,
key_count: usize,
output: PathBuf,
},
}Variants§
Begin
Create an unsigned-event bundle for distribution to signers.
Fields
Sign
Sign an unsigned bundle with a single device key.
Fields
Combine
Combine partial signatures into a SignedEvent, enforcing the threshold.
Fields
Trait Implementations§
Source§impl Debug for MultiSigSubcommand
impl Debug for MultiSigSubcommand
Source§impl FromArgMatches for MultiSigSubcommand
impl FromArgMatches for MultiSigSubcommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for MultiSigSubcommand
impl Subcommand for MultiSigSubcommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for MultiSigSubcommand
impl RefUnwindSafe for MultiSigSubcommand
impl Send for MultiSigSubcommand
impl Sync for MultiSigSubcommand
impl Unpin for MultiSigSubcommand
impl UnsafeUnpin for MultiSigSubcommand
impl UnwindSafe for MultiSigSubcommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more