pub struct TypingSessionManager { /* private fields */ }Implementations§
Source§impl TypingSessionManager
impl TypingSessionManager
pub fn start_typing(&mut self, channel: ChannelId)
pub fn stop_typing(&mut self, channel: ChannelId) -> bool
pub fn current_sessions(&self) -> ChannelIdIter<'_> ⓘ
pub fn tick(&mut self) -> impl Future<Output = Instant> + '_
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypingSessionManager
impl !RefUnwindSafe for TypingSessionManager
impl Send for TypingSessionManager
impl Sync for TypingSessionManager
impl Unpin for TypingSessionManager
impl UnsafeUnpin for TypingSessionManager
impl !UnwindSafe for TypingSessionManager
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