Enum rust_tdlib::client::client::ClientState [−][src]
pub enum ClientState { Opened, Closed, Error(String), }
Expand description
Represents state of particular client instance.
Variants
Client opened. You can start interaction
Client closed properly. You must reopen it if you want to interact with Telegram
Error(String)
Client closed with error
Trait Implementations
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
Mutably borrows from an owned value. Read more