Skip to main content

CloneTarget

Trait CloneTarget 

Source
pub trait CloneTarget: ExclusiveOption { }
Expand description

Marker for a selected clone target: either RemoteSpecMode (-r) or FileSpecMode (-f).

Exactly one of -r / -f is required, so the command can only be assembled and spawned once Clone has transitioned into one of these states.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§