pub struct TypingSession { /* private fields */ }Expand description
A RAII-style typing session, which when dropped sends a StopTyping message to the [ConnectionManager].
Implementations§
Source§impl TypingSession
impl TypingSession
pub fn new(channel_id: ChannelId, messanger: ConnectionMessanger) -> Self
Trait Implementations§
Source§impl Clone for TypingSession
impl Clone for TypingSession
Source§fn clone(&self) -> TypingSession
fn clone(&self) -> TypingSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypingSession
impl Debug for TypingSession
Source§impl Drop for TypingSession
impl Drop for TypingSession
Auto Trait Implementations§
impl Freeze for TypingSession
impl RefUnwindSafe for TypingSession
impl Send for TypingSession
impl Sync for TypingSession
impl Unpin for TypingSession
impl UnsafeUnpin for TypingSession
impl UnwindSafe for TypingSession
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