Skip to content

Enum TypingNow

zaun_client::TypingNow · Enum

pub enum TypingNow { … }

Who else is typing in a channel, as the host last said. This client is never among them.

A named channel: the members typing.

An anonymous channel: how many, never who. 3 means “three or more”.

pub fn from_signal(s: &TypingSignal) -> Option<Self>

The state a signal.typing event describes; None when it names nobody.

pub fn count(&self) -> usize

How many are typing (for an anonymous channel, 3 means “three or more”).

Clone, Debug, Eq, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page