pub struct ProvisionArgs {
pub host_key: Vec<KeyArg>,
pub channel_key: Vec<KeyArg>,
pub peer: Vec<PeerArg>,
pub filter: Vec<FilterArg>,
pub auto_ack: Vec<OnOffArg>,
pub file: Option<PathBuf>,
pub force: bool,
}Fields§
§host_key: Vec<KeyArg>Host identity public key. Required, by flag or by file.
channel_key: Vec<KeyArg>Channel key. Repeatable.
peer: Vec<PeerArg>Peer public key plus its two 16-byte hex pairwise secrets. Repeatable.
filter: Vec<FilterArg>Receive filter: dest-hint:HHHHHH, channel-id:HHHH, or
pkt-type:N. Repeatable.
auto_ack: Vec<OnOffArg>Delegated MAC acknowledgements.
file: Option<PathBuf>Read the same settings from a setting = value file.
force: boolDisplace another host’s provisioning.
Implementations§
Trait Implementations§
Source§impl Args for ProvisionArgs
impl Args for ProvisionArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for ProvisionArgs
impl Debug for ProvisionArgs
Source§impl FromArgMatches for ProvisionArgs
impl FromArgMatches for ProvisionArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ProvisionArgs
impl RefUnwindSafe for ProvisionArgs
impl Send for ProvisionArgs
impl Sync for ProvisionArgs
impl Unpin for ProvisionArgs
impl UnwindSafe for ProvisionArgs
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more