pub enum AgentIdentityStatus {
NoIdentities,
Identities(i32),
ConnectionRefused,
}
Expand description
The possible statuses of an agent’s identity list.
An agent that is not alive returns an error when the identity list is queried, which is
represented here as ConnectionRefused
.
Variants§
Trait Implementations§
Source§impl Debug for AgentIdentityStatus
impl Debug for AgentIdentityStatus
Source§impl Default for AgentIdentityStatus
impl Default for AgentIdentityStatus
Source§fn default() -> AgentIdentityStatus
fn default() -> AgentIdentityStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AgentIdentityStatus
impl RefUnwindSafe for AgentIdentityStatus
impl Send for AgentIdentityStatus
impl Sync for AgentIdentityStatus
impl Unpin for AgentIdentityStatus
impl UnwindSafe for AgentIdentityStatus
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