Enum vapcore_light::request::Response[][src]

pub enum Response {
    Headers(HeadersResponse),
    HeaderProof(HeaderProofResponse),
    TransactionIndex(TransactionIndexResponse),
    Receipts(ReceiptsResponse),
    Body(BodyResponse),
    Account(AccountResponse),
    Storage(StorageResponse),
    Code(CodeResponse),
    Execution(ExecutionResponse),
    Signal(SignalResponse),
}

All response types.

Variants

A response for block headers.

HeaderProof(HeaderProofResponse)

A response for a header proof (from a CHT)

TransactionIndex(TransactionIndexResponse)

A response for a transaction index.

A response for a block’s receipts.

A response for a block body.

A response for a merkle proof of an account.

A response for a merkle proof of contract storage.

A response for contract code.

A response for proof of execution,

A response for epoch change signal.

Implementations

impl Response[src]

pub fn kind(&self) -> Kind[src]

Inspect the kind of this response.

Trait Implementations

impl Clone for Response[src]

impl Debug for Response[src]

impl Decodable for Response[src]

impl Encodable for Response[src]

impl Eq for Response[src]

impl PartialEq<Response> for Response[src]

impl ResponseLike for Response[src]

fn fill_outputs<F>(&self, f: F) where
    F: FnMut(usize, Output), 
[src]

Fill reusable outputs by writing them into the function.

impl StructuralEq for Response[src]

impl StructuralPartialEq for Response[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,