pub enum RsyncSource {
Env,
Config,
Path,
PreferredLocation,
}Expand description
How the resolved binary was chosen.
Variants§
Env
RCH_RSYNC_BIN in the environment.
Config
[transfer] rsync_bin in config.
Path
First rsync on PATH.
PreferredLocation
A modern rsync in PREFERRED_RSYNC_LOCATIONS, chosen over a legacy
PATH binary.
Trait Implementations§
Source§impl Clone for RsyncSource
impl Clone for RsyncSource
impl Copy for RsyncSource
Source§impl Debug for RsyncSource
impl Debug for RsyncSource
Source§impl<'de> Deserialize<'de> for RsyncSource
impl<'de> Deserialize<'de> for RsyncSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RsyncSource
impl Display for RsyncSource
impl Eq for RsyncSource
Source§impl Hash for RsyncSource
impl Hash for RsyncSource
Source§impl PartialEq for RsyncSource
impl PartialEq for RsyncSource
Source§impl Serialize for RsyncSource
impl Serialize for RsyncSource
impl StructuralPartialEq for RsyncSource
Auto Trait Implementations§
impl Freeze for RsyncSource
impl RefUnwindSafe for RsyncSource
impl Send for RsyncSource
impl Sync for RsyncSource
impl Unpin for RsyncSource
impl UnsafeUnpin for RsyncSource
impl UnwindSafe for RsyncSource
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.