pub enum ClientStatus {
Connected,
Disconnected,
InError(ClientStatusError),
}
Expand description
Represents the status of the client connection.
Variants§
Connected
The client is currently connected.
Disconnected
The client is currently disconnected.
InError(ClientStatusError)
Represents an error state in the connection status. Contains a string describing the error.
Trait Implementations§
Source§impl Clone for ClientStatus
impl Clone for ClientStatus
Source§fn clone(&self) -> ClientStatus
fn clone(&self) -> ClientStatus
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 PartialEq for ClientStatus
impl PartialEq for ClientStatus
impl Eq for ClientStatus
impl StructuralPartialEq for ClientStatus
Auto Trait Implementations§
impl Freeze for ClientStatus
impl RefUnwindSafe for ClientStatus
impl Send for ClientStatus
impl Sync for ClientStatus
impl Unpin for ClientStatus
impl UnwindSafe for ClientStatus
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