pub enum DecthingsEvent {
Debug(DebugEvent),
Language(LanguageEvent),
Spawned(SpawnedEvent),
Terminal(TerminalEvent),
SubscriptionsRemoved,
}Variants§
Debug(DebugEvent)
Language(LanguageEvent)
Spawned(SpawnedEvent)
Terminal(TerminalEvent)
SubscriptionsRemoved
This event will be emitted when the Websocket connection to Decthings closes unexpectedly. This means that all subscriptions are cancelled. To solve this, call subscribe for the corresponding API again (no need to call on_event again). Note that you may miss some events while the subscription is inactive.
Trait Implementations§
Source§impl Clone for DecthingsEvent
impl Clone for DecthingsEvent
Source§fn clone(&self) -> DecthingsEvent
fn clone(&self) -> DecthingsEvent
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 moreAuto Trait Implementations§
impl !Freeze for DecthingsEvent
impl RefUnwindSafe for DecthingsEvent
impl Send for DecthingsEvent
impl Sync for DecthingsEvent
impl Unpin for DecthingsEvent
impl UnwindSafe for DecthingsEvent
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