Enum DataMapsUpdateCause
#[non_exhaustive]pub enum DataMapsUpdateCause {
ServerReload,
ClientSync,
}Expand description
What made a data_maps_updated notice fire (DataMapsUpdatedEvent.UpdateCause).
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.
ServerReload
SERVER_RELOAD: the server merged its data maps, on a world’s first open or after
/reload.
ClientSync
CLIENT_SYNC: a client applied the data maps its server sent.
Trait Implementations§
§impl Clone for DataMapsUpdateCause
impl Clone for DataMapsUpdateCause
§fn clone(&self) -> DataMapsUpdateCause
fn clone(&self) -> DataMapsUpdateCause
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 moreimpl Copy for DataMapsUpdateCause
§impl Debug for DataMapsUpdateCause
impl Debug for DataMapsUpdateCause
impl Eq for DataMapsUpdateCause
§impl PartialEq for DataMapsUpdateCause
impl PartialEq for DataMapsUpdateCause
impl StructuralPartialEq for DataMapsUpdateCause
Auto Trait Implementations§
impl Freeze for DataMapsUpdateCause
impl RefUnwindSafe for DataMapsUpdateCause
impl Send for DataMapsUpdateCause
impl Sync for DataMapsUpdateCause
impl Unpin for DataMapsUpdateCause
impl UnsafeUnpin for DataMapsUpdateCause
impl UnwindSafe for DataMapsUpdateCause
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