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
sourceimpl Clone for ClientState
impl Clone for ClientState
sourcefn clone(&self) -> ClientState
fn clone(&self) -> ClientState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClientState
impl Debug for ClientState
sourceimpl PartialEq<ClientState> for ClientState
impl PartialEq<ClientState> for ClientState
impl StructuralPartialEq for ClientState
Auto Trait Implementations
impl RefUnwindSafe for ClientState
impl Send for ClientState
impl Sync for ClientState
impl Unpin for ClientState
impl UnwindSafe for ClientState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more