pub enum WorkspaceHealth {
Healthy,
Unreachable {
reason: String,
},
}Expand description
Connectivity of a managed workspace’s caliband daemon.
Variants§
Healthy
The control socket responded to the last poll.
Unreachable
The control socket could not be reached; carries the reason.
Trait Implementations§
Source§impl Clone for WorkspaceHealth
impl Clone for WorkspaceHealth
Source§fn clone(&self) -> WorkspaceHealth
fn clone(&self) -> WorkspaceHealth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkspaceHealth
impl Debug for WorkspaceHealth
Source§impl<'de> Deserialize<'de> for WorkspaceHealth
impl<'de> Deserialize<'de> for WorkspaceHealth
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 WorkspaceHealth
Source§impl JsonSchema for WorkspaceHealth
impl JsonSchema for WorkspaceHealth
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WorkspaceHealth
impl PartialEq for WorkspaceHealth
Source§impl Serialize for WorkspaceHealth
impl Serialize for WorkspaceHealth
impl StructuralPartialEq for WorkspaceHealth
Auto Trait Implementations§
impl Freeze for WorkspaceHealth
impl RefUnwindSafe for WorkspaceHealth
impl Send for WorkspaceHealth
impl Sync for WorkspaceHealth
impl Unpin for WorkspaceHealth
impl UnsafeUnpin for WorkspaceHealth
impl UnwindSafe for WorkspaceHealth
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