Struct ethcore_rpc::v1::tests::helpers::TestFetch [] [src]

pub struct TestFetch;

Test implementation of fetcher. Will always return the same file.

Trait Implementations

impl Default for TestFetch
[src]

Returns the "default value" for a type. Read more

impl Clone for TestFetch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Fetch for TestFetch
[src]

Fetch URL and get a future for the result. Supports aborting the request in the middle of execution. Read more

Spawn the future in context of this Fetch thread pool. Implementation is optional. Read more

Fetch URL and get a future for the result.

Fetch URL and get the result synchronously.

Closes this client