pub enum HostStatus {
Reachable {
version: String,
disk_free: u64,
disk_low: bool,
config_valid: bool,
},
Broken(String),
Unreachable,
}Expand description
One host’s status, as probe_status diagnoses it. Reachable carries
exactly what the host’s own selfcheck reported; Broken is a real ssh
connection that came back unhealthy (selfcheck errored); Unreachable is
no connection at all — the graduated diagnosis status needs to tell
“the box is off” from “the box is up but git-ark is broken on it”.
Variants§
Trait Implementations§
Source§impl Clone for HostStatus
impl Clone for HostStatus
Source§impl Debug for HostStatus
impl Debug for HostStatus
Source§impl PartialEq for HostStatus
impl PartialEq for HostStatus
impl StructuralPartialEq for HostStatus
Auto Trait Implementations§
impl Freeze for HostStatus
impl RefUnwindSafe for HostStatus
impl Send for HostStatus
impl Sync for HostStatus
impl Unpin for HostStatus
impl UnsafeUnpin for HostStatus
impl UnwindSafe for HostStatus
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