pub enum AgentStatus {
Disconnected,
Connecting,
Connected,
Error(String),
}Expand description
Current connection status of an agent.
Variants§
Disconnected
Not connected to any agent process.
Connecting
Handshake in progress.
Connected
Successfully connected and session established.
Error(String)
An error occurred during connection or communication.
Trait Implementations§
Source§impl Clone for AgentStatus
impl Clone for AgentStatus
Source§fn clone(&self) -> AgentStatus
fn clone(&self) -> AgentStatus
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 AgentStatus
impl Debug for AgentStatus
Source§impl PartialEq for AgentStatus
impl PartialEq for AgentStatus
Source§fn eq(&self, other: &AgentStatus) -> bool
fn eq(&self, other: &AgentStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentStatus
Auto Trait Implementations§
impl Freeze for AgentStatus
impl RefUnwindSafe for AgentStatus
impl Send for AgentStatus
impl Sync for AgentStatus
impl Unpin for AgentStatus
impl UnsafeUnpin for AgentStatus
impl UnwindSafe for AgentStatus
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