pub struct IdleWatch { /* private fields */ }Expand description
Handle to a background IDLE watcher. Dropping it sets the stop flag; the thread notices within the socket’s 60 s read timeout and logs out.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdleWatch
impl RefUnwindSafe for IdleWatch
impl Send for IdleWatch
impl Sync for IdleWatch
impl Unpin for IdleWatch
impl UnsafeUnpin for IdleWatch
impl UnwindSafe for IdleWatch
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