pub enum PlatformEvent {
SyncCompleted(SyncCompleted),
SyncFailed(SyncFailed),
AlertRaised(AlertRaised),
AlertResolved(AlertResolved),
AccountExpired(AccountExpired),
JobStarted(JobStarted),
JobProgress(JobProgress),
JobFinished(JobFinished),
}Expand description
The platform-level event enum.
Adding a variant is a breaking change for exhaustive subscribers — deliberately so.
Variants§
SyncCompleted(SyncCompleted)
SyncFailed(SyncFailed)
AlertRaised(AlertRaised)
AlertResolved(AlertResolved)
AccountExpired(AccountExpired)
JobStarted(JobStarted)
JobProgress(JobProgress)
JobFinished(JobFinished)
Trait Implementations§
Source§impl Clone for PlatformEvent
impl Clone for PlatformEvent
Source§fn clone(&self) -> PlatformEvent
fn clone(&self) -> PlatformEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformEvent
impl Debug for PlatformEvent
Source§impl<'de> Deserialize<'de> for PlatformEvent
impl<'de> Deserialize<'de> for PlatformEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Event for PlatformEvent
impl Event for PlatformEvent
Auto Trait Implementations§
impl Freeze for PlatformEvent
impl RefUnwindSafe for PlatformEvent
impl Send for PlatformEvent
impl Sync for PlatformEvent
impl Unpin for PlatformEvent
impl UnsafeUnpin for PlatformEvent
impl UnwindSafe for PlatformEvent
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