pub enum RsyncResolveError {
NotFound,
OverrideMissing {
origin: RsyncSource,
path: PathBuf,
},
ProbeFailed {
path: PathBuf,
reason: String,
},
}Expand description
Why no usable rsync could be resolved.
Variants§
NotFound
Nothing named rsync on PATH or in the well-known locations.
OverrideMissing
An explicit override names a binary that does not exist or is not executable.
ProbeFailed
The binary exists but --version failed, hung, or printed nothing.
Trait Implementations§
Source§impl Clone for RsyncResolveError
impl Clone for RsyncResolveError
Source§impl Debug for RsyncResolveError
impl Debug for RsyncResolveError
Source§impl Display for RsyncResolveError
impl Display for RsyncResolveError
impl Eq for RsyncResolveError
Source§impl Error for RsyncResolveError
impl Error for RsyncResolveError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RsyncResolveError
impl PartialEq for RsyncResolveError
impl StructuralPartialEq for RsyncResolveError
Auto Trait Implementations§
impl Freeze for RsyncResolveError
impl RefUnwindSafe for RsyncResolveError
impl Send for RsyncResolveError
impl Sync for RsyncResolveError
impl Unpin for RsyncResolveError
impl UnsafeUnpin for RsyncResolveError
impl UnwindSafe for RsyncResolveError
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,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<E> IntoErrorPanel for Ewhere
E: Error,
impl<E> IntoErrorPanel for Ewhere
E: Error,
Source§fn into_panel(self) -> ErrorPanel
fn into_panel(self) -> ErrorPanel
Convert this error into an ErrorPanel.