pub enum ChatState {
Active,
Composing,
Gone,
Inactive,
Paused,
}
Expand description
Enum representing chatstate elements part of the
http://jabber.org/protocol/chatstates
namespace.
Variants§
Active
<active xmlns='http://jabber.org/protocol/chatstates'/>
Composing
<composing xmlns='http://jabber.org/protocol/chatstates'/>
Gone
<gone xmlns='http://jabber.org/protocol/chatstates'/>
Inactive
<inactive xmlns='http://jabber.org/protocol/chatstates'/>
Paused
<paused xmlns='http://jabber.org/protocol/chatstates'/>
Trait Implementations§
Source§impl TryFrom<Element> for ChatState
impl TryFrom<Element> for ChatState
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl MessagePayload for ChatState
impl StructuralPartialEq for ChatState
Auto Trait Implementations§
impl Freeze for ChatState
impl RefUnwindSafe for ChatState
impl Send for ChatState
impl Sync for ChatState
impl Unpin for ChatState
impl UnwindSafe for ChatState
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