pub struct FxcpCli {Show 30 fields
pub paths: Vec<PathBuf>,
pub archive: bool,
pub recursive: bool,
pub verify: bool,
pub delete: bool,
pub dry_run: bool,
pub exclude: Vec<String>,
pub include: Vec<String>,
pub exclude_from: Option<PathBuf>,
pub include_from: Option<PathBuf>,
pub snapshot: bool,
pub throttle: bool,
pub cleanup: bool,
pub size: Option<u64>,
pub checkpoint_interval: Option<u64>,
pub checkpoint_keep: usize,
pub zero_copy: bool,
pub debug: bool,
pub json: bool,
pub progress: bool,
pub generate_sigs: bool,
pub checksums: Option<String>,
pub checksums_overwrite: bool,
pub cid: bool,
pub normalization_level: u8,
pub owner: bool,
pub group: bool,
pub perms: bool,
pub xattrs: bool,
pub acls: bool,
}Fields§
§paths: Vec<PathBuf>Source path(s) and destination – last argument is destination (use ‘-’ for stdin). Trailing slash on source controls directory behavior (rsync-compatible): ‘fxcp src dest’ creates dest/src/; ‘fxcp src/ dest’ copies contents into dest/
archive: bool§recursive: bool§verify: bool§delete: bool§dry_run: bool§exclude: Vec<String>§include: Vec<String>§exclude_from: Option<PathBuf>§include_from: Option<PathBuf>§snapshot: bool§throttle: bool§cleanup: bool§size: Option<u64>§checkpoint_interval: Option<u64>§checkpoint_keep: usize§zero_copy: bool§debug: bool§json: bool§progress: bool§generate_sigs: bool§checksums: Option<String>§checksums_overwrite: bool§cid: bool§normalization_level: u8§owner: bool§group: bool§perms: bool§xattrs: bool§acls: boolTrait Implementations§
Source§impl Args for FxcpCli
impl Args for FxcpCli
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§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 FromArgMatches for FxcpCli
impl FromArgMatches for FxcpCli
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 FxcpCli
impl Parser for FxcpCli
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§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.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error. Read more
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
Auto Trait Implementations§
impl Freeze for FxcpCli
impl RefUnwindSafe for FxcpCli
impl Send for FxcpCli
impl Sync for FxcpCli
impl Unpin for FxcpCli
impl UnsafeUnpin for FxcpCli
impl UnwindSafe for FxcpCli
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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