pub trait SyncCommandViewAlg: RsyncSorts {
// Required methods
fn command_program<'a>(&self, command: &'a Self::Command) -> &'a str;
fn command_arguments<'a>(
&self,
command: &'a Self::Command,
) -> impl Iterator<Item = &'a str>;
}Expand description
Specifies what one command states about itself.
Required Methods§
Sourcefn command_program<'a>(&self, command: &'a Self::Command) -> &'a str
fn command_program<'a>(&self, command: &'a Self::Command) -> &'a str
Observes the program the transfer is performed by.
Sourcefn command_arguments<'a>(
&self,
command: &'a Self::Command,
) -> impl Iterator<Item = &'a str>
fn command_arguments<'a>( &self, command: &'a Self::Command, ) -> impl Iterator<Item = &'a str>
Observes every argument, in the order the program is given them.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".