Enum RuntimeEventPayload
#[non_exhaustive]pub enum RuntimeEventPayload {
None,
RenderFrame(RenderFrameEvent),
RenderMap(RenderMapEvent),
StyleImageMissing(StyleImageMissingEvent),
TileAction(TileActionEvent),
OfflineRegionStatus(OfflineRegionStatusEvent),
OfflineRegionResponseError(OfflineRegionResponseErrorEvent),
OfflineRegionTileCountLimit(OfflineRegionTileCountLimitEvent),
OfflineOperationCompleted(OfflineOperationCompletedEvent),
Unknown(UnknownRuntimeEventPayload),
}Expand description
Owned event payload copied from runtime-owned native storage.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
RenderFrame(RenderFrameEvent)
RenderMap(RenderMapEvent)
StyleImageMissing(StyleImageMissingEvent)
TileAction(TileActionEvent)
OfflineRegionStatus(OfflineRegionStatusEvent)
OfflineRegionResponseError(OfflineRegionResponseErrorEvent)
OfflineRegionTileCountLimit(OfflineRegionTileCountLimitEvent)
OfflineOperationCompleted(OfflineOperationCompletedEvent)
Unknown(UnknownRuntimeEventPayload)
Trait Implementations§
§impl Clone for RuntimeEventPayload
impl Clone for RuntimeEventPayload
§fn clone(&self) -> RuntimeEventPayload
fn clone(&self) -> RuntimeEventPayload
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 more§impl Debug for RuntimeEventPayload
impl Debug for RuntimeEventPayload
§impl PartialEq for RuntimeEventPayload
impl PartialEq for RuntimeEventPayload
impl StructuralPartialEq for RuntimeEventPayload
Auto Trait Implementations§
impl Freeze for RuntimeEventPayload
impl RefUnwindSafe for RuntimeEventPayload
impl Send for RuntimeEventPayload
impl Sync for RuntimeEventPayload
impl Unpin for RuntimeEventPayload
impl UnsafeUnpin for RuntimeEventPayload
impl UnwindSafe for RuntimeEventPayload
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