Enum worker::Fetch [−][src]
pub enum Fetch {
Url(Url),
Request(WorkerRequest),
}
Expand description
Construct a Fetch call from a URL string or a Request object. Call its send
method to execute
the request.
Variants
Url(Url)
Tuple Fields of Url
0: Url
Request(WorkerRequest)
Tuple Fields of Request
Implementations
Execute a Fetch call and receive a Response.