#[non_exhaustive]pub enum RuntimeEventSource {
Runtime,
Map(MapId),
UnknownMap,
Unknown(u32),
}Expand description
Source object that emitted a runtime event.
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.
Trait Implementations§
Source§impl Clone for RuntimeEventSource
impl Clone for RuntimeEventSource
Source§fn clone(&self) -> RuntimeEventSource
fn clone(&self) -> RuntimeEventSource
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 RuntimeEventSource
impl Debug for RuntimeEventSource
Source§impl Hash for RuntimeEventSource
impl Hash for RuntimeEventSource
Source§impl PartialEq for RuntimeEventSource
impl PartialEq for RuntimeEventSource
impl Copy for RuntimeEventSource
impl Eq for RuntimeEventSource
impl StructuralPartialEq for RuntimeEventSource
Auto Trait Implementations§
impl Freeze for RuntimeEventSource
impl RefUnwindSafe for RuntimeEventSource
impl Send for RuntimeEventSource
impl Sync for RuntimeEventSource
impl Unpin for RuntimeEventSource
impl UnsafeUnpin for RuntimeEventSource
impl UnwindSafe for RuntimeEventSource
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