Enum rust_tdlib::client::ClientState
source · pub enum ClientState {
Opened,
Closed,
Authorizing,
}
Expand description
Represents state of particular client instance.
Variants§
Opened
Client opened. You can start interaction
Closed
Client closed. You must reopen it if you want to interact with TDLib
Authorizing
Client not authorizde yet
Trait Implementations§
source§impl Clone for ClientState
impl Clone for ClientState
source§fn clone(&self) -> ClientState
fn clone(&self) -> ClientState
Returns a copy 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<ClientState> for ClientState
impl PartialEq<ClientState> for ClientState
source§fn eq(&self, other: &ClientState) -> bool
fn eq(&self, other: &ClientState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.