pub enum WorkerRequestType {
LoadTile {
url: String,
coord: TileCoord,
},
LoadTiles {
url: String,
coords: Vec<TileCoord>,
},
Prefetch {
url: String,
coords: Vec<TileCoord>,
},
GetMetadata {
url: String,
},
}Expand description
Worker request types
Variants§
Trait Implementations§
Source§impl Clone for WorkerRequestType
impl Clone for WorkerRequestType
Source§fn clone(&self) -> WorkerRequestType
fn clone(&self) -> WorkerRequestType
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 WorkerRequestType
impl Debug for WorkerRequestType
Source§impl<'de> Deserialize<'de> for WorkerRequestType
impl<'de> Deserialize<'de> for WorkerRequestType
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
Auto Trait Implementations§
impl Freeze for WorkerRequestType
impl RefUnwindSafe for WorkerRequestType
impl Send for WorkerRequestType
impl Sync for WorkerRequestType
impl Unpin for WorkerRequestType
impl UnsafeUnpin for WorkerRequestType
impl UnwindSafe for WorkerRequestType
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