[−][src]Enum casper_node::effect::requests::StorageRequest
A storage request.
Variants
Store given block.
Fields of PutBlock
Retrieve block with given hash.
Fields of GetBlock
Retrieve block with given height.
Fields of GetBlockAtHeight
Retrieve highest block.
Retrieve block header with given hash.
Fields of GetBlockHeader
Store given deploy.
Fields of PutDeploy
Retrieve deploys with given hashes.
Fields of GetDeploys
Retrieve deploy headers with given hashes.
Fields of GetDeployHeaders
Store the given execution results for the deploys in the given block.
Fields of PutExecutionResults
block_hash: <S::Block as Value>::IdHash of block.
execution_results: HashMap<<S::Deploy as Value>::Id, ExecutionResult>Execution results.
responder: Responder<()>Responder to call with the result. Returns true if the execution results were stored on this attempt or false if they were previously stored.
Retrieve deploy and its metadata.
Fields of GetDeployAndMetadata
Store given chainspec.
Fields of PutChainspec
Retrieve chainspec with given version.
Fields of GetChainspec
Trait Implementations
impl<S: Debug + StorageType + 'static> Debug for StorageRequest<S> where
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Deploy: Debug,
S::Block: Debug,
S::Deploy: Debug,
S::Deploy: Debug, [src]
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Block: Debug,
S::Deploy: Debug,
S::Block: Debug,
S::Deploy: Debug,
S::Deploy: Debug,
impl<S: StorageType> Display for StorageRequest<S>[src]
impl From<StorageRequest<LmdbStorage<Block, Deploy>>> for Event[src]
fn from(request: StorageRequest<LmdbStorage<Block, Deploy>>) -> Self[src]
impl From<StorageRequest<LmdbStorage<Block, Deploy>>> for InitializerEvent[src]
fn from(request: StorageRequest<LmdbStorage<Block, Deploy>>) -> Self[src]
impl From<StorageRequest<LmdbStorage<Block, Deploy>>> for Event[src]
fn from(request: StorageRequest<LmdbStorage<Block, Deploy>>) -> Self[src]
impl From<StorageRequest<LmdbStorage<Block, Deploy>>> for Event[src]
fn from(request: StorageRequest<LmdbStorage<Block, Deploy>>) -> Self[src]
Auto Trait Implementations
impl<S> !RefUnwindSafe for StorageRequest<S>
impl<S> Send for StorageRequest<S> where
<S as StorageType>::Block: Send,
<S as StorageType>::Deploy: Send,
<<S as StorageType>::Block as Value>::Header: Send,
<<S as StorageType>::Deploy as Value>::Header: Send,
<<S as StorageType>::Block as Value>::Id: Send,
<<S as StorageType>::Deploy as Value>::Id: Send,
<S as StorageType>::Block: Send,
<S as StorageType>::Deploy: Send,
<<S as StorageType>::Block as Value>::Header: Send,
<<S as StorageType>::Deploy as Value>::Header: Send,
<<S as StorageType>::Block as Value>::Id: Send,
<<S as StorageType>::Deploy as Value>::Id: Send,
impl<S> Sync for StorageRequest<S> where
<S as StorageType>::Block: Send + Sync,
<S as StorageType>::Deploy: Send + Sync,
<<S as StorageType>::Block as Value>::Header: Send,
<<S as StorageType>::Deploy as Value>::Header: Send,
<<S as StorageType>::Block as Value>::Id: Send + Sync,
<<S as StorageType>::Deploy as Value>::Id: Sync,
<S as StorageType>::Block: Send + Sync,
<S as StorageType>::Deploy: Send + Sync,
<<S as StorageType>::Block as Value>::Header: Send,
<<S as StorageType>::Deploy as Value>::Header: Send,
<<S as StorageType>::Block as Value>::Id: Send + Sync,
<<S as StorageType>::Deploy as Value>::Id: Sync,
impl<S> Unpin for StorageRequest<S> where
<<S as StorageType>::Block as Value>::Id: Unpin,
<<S as StorageType>::Deploy as Value>::Id: Unpin,
<<S as StorageType>::Block as Value>::Id: Unpin,
<<S as StorageType>::Deploy as Value>::Id: Unpin,
impl<S> !UnwindSafe for StorageRequest<S>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> FromBits<T> for T[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,