#[non_exhaustive]pub struct MachineUnreachable {
pub since_time: Option<Timestamp>,
}Expand description
Detail of an ErrorCode::Unavailable error: the machine does not answer now, as while it restarts. Call again later.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.since_time: Option<Timestamp>Since when Pethost has not reached it, once that is over 3 minutes: then the person was told (Machine::alert_channels). Absent = not known yet.
Trait Implementations§
Source§impl Clone for MachineUnreachable
impl Clone for MachineUnreachable
Source§impl Debug for MachineUnreachable
impl Debug for MachineUnreachable
Source§impl Default for MachineUnreachable
impl Default for MachineUnreachable
Source§impl<'de> Deserialize<'de> for MachineUnreachable
From the API’s JSON. A field this version does not know is refused, as the API
refuses one it does not have.
impl<'de> Deserialize<'de> for MachineUnreachable
From the API’s JSON. A field this version does not know is refused, as the API refuses one it does not have.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MachineUnreachable
impl PartialEq for MachineUnreachable
Source§impl Serialize for MachineUnreachable
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit
integer as a string, a time as RFC 3339, bytes as base64.
impl Serialize for MachineUnreachable
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit integer as a string, a time as RFC 3339, bytes as base64.
impl StructuralPartialEq for MachineUnreachable
Auto Trait Implementations§
impl Freeze for MachineUnreachable
impl RefUnwindSafe for MachineUnreachable
impl Send for MachineUnreachable
impl Sync for MachineUnreachable
impl Unpin for MachineUnreachable
impl UnsafeUnpin for MachineUnreachable
impl UnwindSafe for MachineUnreachable
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