pub struct ResolvedRsync {
pub path: PathBuf,
pub flavor: RsyncFlavor,
pub version_line: String,
pub source: RsyncSource,
pub shadowed: Option<ShadowedRsync>,
}Expand description
The rsync binary rch will exec, with its probed flavour.
Fields§
§path: PathBufAbsolute path handed to Command::new.
flavor: RsyncFlavorProbed flavour.
version_line: StringFirst line of --version output, for diagnostics.
source: RsyncSourceHow the binary was chosen.
shadowed: Option<ShadowedRsync>A legacy PATH binary that was skipped in favour of path, if any —
surfaced by the doctor so the operator understands why which rsync
and rch disagree.
Implementations§
Source§impl ResolvedRsync
impl ResolvedRsync
Sourcepub const fn capabilities(&self) -> RsyncCapabilities
pub const fn capabilities(&self) -> RsyncCapabilities
Argv capabilities of the resolved binary.
Trait Implementations§
Source§impl Clone for ResolvedRsync
impl Clone for ResolvedRsync
Source§impl Debug for ResolvedRsync
impl Debug for ResolvedRsync
Source§impl<'de> Deserialize<'de> for ResolvedRsync
impl<'de> Deserialize<'de> for ResolvedRsync
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
impl Eq for ResolvedRsync
Source§impl PartialEq for ResolvedRsync
impl PartialEq for ResolvedRsync
Source§impl Serialize for ResolvedRsync
impl Serialize for ResolvedRsync
impl StructuralPartialEq for ResolvedRsync
Auto Trait Implementations§
impl Freeze for ResolvedRsync
impl RefUnwindSafe for ResolvedRsync
impl Send for ResolvedRsync
impl Sync for ResolvedRsync
impl Unpin for ResolvedRsync
impl UnsafeUnpin for ResolvedRsync
impl UnwindSafe for ResolvedRsync
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.