Enum ethcore_light::request::Request [] [src]

pub enum Request {
    Headers(Headers),
    Bodies(Bodies),
    Receipts(Receipts),
    StateProofs(StateProofs),
    Codes(ContractCodes),
    HeaderProofs(HeaderProofs),
}

Encompasses all possible types of requests in a single structure.

Variants

Requesting headers.

Requesting block bodies.

Requesting transaction receipts.

Requesting state proofs.

Requesting contract codes.

Requesting header proofs.

Methods

impl Request
[src]

Get the kind of request this is.

Get the amount of requests being made.

Trait Implementations

impl Debug for Request
[src]

Formats the value using the given formatter.

impl Clone for Request
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Request
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Request
[src]