[][src]Enum casper_node::effect::requests::LinearChainRequest

pub enum LinearChainRequest<I> {
    BlockRequest(BlockHash, I),
    BlockAtHeight(u64, I),
    BlockAtHeightLocal(u64Responder<Option<Block>>),
}

Requests issued to the Linear Chain component.

Variants

BlockRequest(BlockHash, I)

Request whole block from the linear chain, by hash.

BlockAtHeight(u64, I)

Request for a linear chain block at height.

BlockAtHeightLocal(u64Responder<Option<Block>>)

Local request for a linear chain block at height. TODO: Unify BlockAtHeight and BlockAtHeightLocal.

Trait Implementations

impl<I: Debug> Debug for LinearChainRequest<I>[src]

impl<I: Display> Display for LinearChainRequest<I>[src]

impl From<LinearChainRequest<NodeId>> for Event[src]

impl From<LinearChainRequest<NodeId>> for Event[src]

impl<I> Serialize for LinearChainRequest<I> where
    I: Serialize
[src]

Auto Trait Implementations

impl<I> !RefUnwindSafe for LinearChainRequest<I>[src]

impl<I> Send for LinearChainRequest<I> where
    I: Send
[src]

impl<I> Sync for LinearChainRequest<I> where
    I: Sync
[src]

impl<I> Unpin for LinearChainRequest<I> where
    I: Unpin
[src]

impl<I> !UnwindSafe for LinearChainRequest<I>[src]

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>, 

impl<T> WithSubscriber for T[src]