Enum ruma_events::presence::PresenceState [] [src]

pub enum PresenceState {
    Offline,
    Online,
    Unavailable,
}

A description of a user's connectivity and availability for chat.

Variants

Disconnected from the service.

Connected to the service.

Connected to the service but not available for chat.

Trait Implementations

impl Clone for PresenceState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PresenceState
[src]

impl Debug for PresenceState
[src]

Formats the value using the given formatter.

impl PartialEq for PresenceState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for PresenceState
[src]

Formats the value using the given formatter. Read more

impl FromStr for PresenceState
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more