pub enum ClientState {
Sleeping,
Waking,
Awake,
}Expand description
Client state machine state:
- sleeping: Initial/inactive state. Control plane running, debugger not started.
- waking: Transitional state during wake operation.
- awake: Active state. Debugger listening, registered with daemon.
JSON schema
{
"description": "Client state machine state:\n- **sleeping**: Initial/inactive state. Control plane running, debugger not started.\n- **waking**: Transitional state during wake operation.\n- **awake**: Active state. Debugger listening, registered with daemon.\n",
"type": "string",
"enum": [
"sleeping",
"waking",
"awake"
]
}Variants§
Trait Implementations§
Source§impl Clone for ClientState
impl Clone for ClientState
Source§fn clone(&self) -> ClientState
fn clone(&self) -> ClientState
Returns a duplicate of the value. Read more
1.0.0 · 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 ClientState
impl Debug for ClientState
Source§impl<'de> Deserialize<'de> for ClientState
impl<'de> Deserialize<'de> for ClientState
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
Source§impl Display for ClientState
impl Display for ClientState
Source§impl From<&ClientState> for ClientState
impl From<&ClientState> for ClientState
Source§fn from(value: &ClientState) -> Self
fn from(value: &ClientState) -> Self
Converts to this type from the input type.
Source§impl FromStr for ClientState
impl FromStr for ClientState
Source§impl Hash for ClientState
impl Hash for ClientState
Source§impl Ord for ClientState
impl Ord for ClientState
Source§fn cmp(&self, other: &ClientState) -> Ordering
fn cmp(&self, other: &ClientState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ClientState
impl PartialEq for ClientState
Source§impl PartialOrd for ClientState
impl PartialOrd for ClientState
Source§impl Serialize for ClientState
impl Serialize for ClientState
Source§impl TryFrom<&String> for ClientState
impl TryFrom<&String> for ClientState
Source§impl TryFrom<&str> for ClientState
impl TryFrom<&str> for ClientState
Source§impl TryFrom<String> for ClientState
impl TryFrom<String> for ClientState
impl Copy for ClientState
impl Eq for ClientState
impl StructuralPartialEq for ClientState
Auto Trait Implementations§
impl Freeze for ClientState
impl RefUnwindSafe for ClientState
impl Send for ClientState
impl Sync for ClientState
impl Unpin for ClientState
impl UnsafeUnpin for ClientState
impl UnwindSafe for ClientState
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> Comparable<K> for Q
impl<Q, K> Comparable<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.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<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.