pub struct Subscriber {
pub tx: UnboundedSender<DaemonMessage>,
pub keeps_session_alive: bool,
}Expand description
A subscriber attached to a thread’s display events.
Fields§
§tx: UnboundedSender<DaemonMessage>§keeps_session_alive: boolWhen false, this subscriber does not prevent the session from
idling out (e.g. the Slack bot’s persistent connections).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subscriber
impl RefUnwindSafe for Subscriber
impl Send for Subscriber
impl Sync for Subscriber
impl Unpin for Subscriber
impl UnsafeUnpin for Subscriber
impl UnwindSafe for Subscriber
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