Enum TileOperation
#[non_exhaustive]pub enum TileOperation {
RequestedFromCache,
RequestedFromNetwork,
LoadFromNetwork,
LoadFromCache,
StartParse,
EndParse,
Error,
Cancelled,
Null,
Unknown(u32),
}Expand description
Tile operation reported by tile observer events.
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.
RequestedFromCache
RequestedFromNetwork
LoadFromNetwork
LoadFromCache
StartParse
EndParse
Error
Cancelled
Null
Unknown(u32)
Implementations§
§impl TileOperation
impl TileOperation
pub fn from_raw(raw: u32) -> TileOperation
Trait Implementations§
§impl Clone for TileOperation
impl Clone for TileOperation
§fn clone(&self) -> TileOperation
fn clone(&self) -> TileOperation
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 TileOperation
impl Debug for TileOperation
§impl Hash for TileOperation
impl Hash for TileOperation
§impl PartialEq for TileOperation
impl PartialEq for TileOperation
impl Copy for TileOperation
impl Eq for TileOperation
impl StructuralPartialEq for TileOperation
Auto Trait Implementations§
impl Freeze for TileOperation
impl RefUnwindSafe for TileOperation
impl Send for TileOperation
impl Sync for TileOperation
impl Unpin for TileOperation
impl UnsafeUnpin for TileOperation
impl UnwindSafe for TileOperation
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