pub struct EmbedDistributedArgs {
pub input: PathBuf,
pub covers: String,
pub data_shards: u8,
pub parity_shards: u8,
pub output_archive: PathBuf,
pub technique: Technique,
pub profile: Profile,
pub platform: Option<Platform>,
pub canary: bool,
pub geo_manifest: Option<PathBuf>,
pub hmac_key: Option<PathBuf>,
}Expand description
Arguments for embed-distributed.
Fields§
§input: PathBufPath to the payload file.
covers: StringGlob pattern matching cover files.
data_shards: u8Number of data shards.
parity_shards: u8Number of parity shards.
output_archive: PathBufOutput archive path.
technique: TechniqueSteganographic technique.
profile: ProfileEmbedding profile.
platform: Option<Platform>Target platform (when profile = survivable).
canary: boolInject a canary shard.
geo_manifest: Option<PathBuf>Geographic manifest TOML path.
hmac_key: Option<PathBuf>Path to a 32-byte HMAC key for shard integrity. If omitted, a random key is generated and written next to the output archive.
Trait Implementations§
Source§impl Args for EmbedDistributedArgs
impl Args for EmbedDistributedArgs
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 EmbedDistributedArgs
impl Debug for EmbedDistributedArgs
Source§impl FromArgMatches for EmbedDistributedArgs
impl FromArgMatches for EmbedDistributedArgs
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.Source§impl Parser for EmbedDistributedArgs
impl Parser for EmbedDistributedArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for EmbedDistributedArgs
impl RefUnwindSafe for EmbedDistributedArgs
impl Send for EmbedDistributedArgs
impl Sync for EmbedDistributedArgs
impl Unpin for EmbedDistributedArgs
impl UnsafeUnpin for EmbedDistributedArgs
impl UnwindSafe for EmbedDistributedArgs
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more