pub struct MachineWait {
pub machine: String,
pub offline_since_ms: u64,
pub next_probe_ms: u64,
pub probes: u32,
pub last_error: Option<String>,
}Expand description
Another machine this machine’s mail waits for, because it answered that it is offline (not linked to Teams). Kept
once per machine under the mail root (machines/<machine>.json), so its mail costs one probe per wait however much
of it there is, and a restarted watcher waits as the last one did.
Fields§
§machine: StringThe machine.
offline_since_ms: u64When it first answered offline in this wait, epoch milliseconds.
next_probe_ms: u64When it is next probed, epoch milliseconds.
probes: u32Probes it has answered offline in this wait.
last_error: Option<String>What its last probe answered.
Trait Implementations§
Source§impl Clone for MachineWait
impl Clone for MachineWait
Source§impl Debug for MachineWait
impl Debug for MachineWait
Source§impl Default for MachineWait
impl Default for MachineWait
Source§impl<'de> Deserialize<'de> for MachineWait
impl<'de> Deserialize<'de> for MachineWait
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 MachineWait
Source§impl PartialEq for MachineWait
impl PartialEq for MachineWait
Source§impl Serialize for MachineWait
impl Serialize for MachineWait
impl StructuralPartialEq for MachineWait
Auto Trait Implementations§
impl Freeze for MachineWait
impl RefUnwindSafe for MachineWait
impl Send for MachineWait
impl Sync for MachineWait
impl Unpin for MachineWait
impl UnsafeUnpin for MachineWait
impl UnwindSafe for MachineWait
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.