pub enum Activity {
Suspend = 0,
Awake = 1,
Disconnected = 2,
Connected = 3,
Action = 4,
}
Expand description
Variant of activity that send to tracers.
It doesn’t include Action
value to make this type
compatible with languages that have no ADTs.
Variants§
Suspend = 0
No one connected client
Awake = 1
At least one client connected
Disconnected = 2
Listener disconnected
Connected = 3
Listener connected
Action = 4
Forwards an action
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Activity
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnwindSafe for Activity
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