pub enum ClientState {
Disconnected,
Connecting,
Initializing,
Ready,
Disconnecting,
Error(String),
}
Expand description
Client state enumeration
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 PartialEq for ClientState
impl PartialEq 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 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