pub trait SyncCommandAlg: RsyncSorts {
// Required method
fn sync_command(
&self,
program: impl Into<String>,
arguments: impl IntoIterator<Item = String>,
) -> Self::Command;
}Expand description
Provides the carrier and constructor for exactly the command one transfer runs.
The specification owns the command because the command is the request: an interpreter runs it and moves its output, and never decides what a transfer should ask for.
Required Methods§
Sourcefn sync_command(
&self,
program: impl Into<String>,
arguments: impl IntoIterator<Item = String>,
) -> Self::Command
fn sync_command( &self, program: impl Into<String>, arguments: impl IntoIterator<Item = String>, ) -> Self::Command
Defines the command running one program with exactly these arguments, in this order.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".