pub struct ClickWatcher { /* private fields */ }Expand description
Receives clicks from a user.
Implementations§
Methods from Deref<Target = Tracer<ClickState>>§
Sourcepub fn send(
&self,
data: <T as Flow>::Event,
opt_system_time: Option<SystemTime>,
direction: Option<Direction<ProviderProtocol>>,
)
pub fn send( &self, data: <T as Flow>::Event, opt_system_time: Option<SystemTime>, direction: Option<Direction<ProviderProtocol>>, )
Send an event to a Recorder.
Sourcepub fn subscribe(&mut self) -> Result<Receiver<ActionEnvelope<T>>, Error>
pub fn subscribe(&mut self) -> Result<Receiver<ActionEnvelope<T>>, Error>
Subscribe to the stream of the watcher.
Trait Implementations§
Source§impl Clone for ClickWatcher
impl Clone for ClickWatcher
Source§fn clone(&self) -> ClickWatcher
fn clone(&self) -> ClickWatcher
Returns a duplicate of the value. Read more
1.0.0 · 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 ClickWatcher
impl Debug for ClickWatcher
Source§impl Deref for ClickWatcher
impl Deref for ClickWatcher
Auto Trait Implementations§
impl Freeze for ClickWatcher
impl !RefUnwindSafe for ClickWatcher
impl Send for ClickWatcher
impl Sync for ClickWatcher
impl Unpin for ClickWatcher
impl !UnwindSafe for ClickWatcher
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