[−][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
block_hash: BlockHashHash of block to get header of.
responder: Responder<Option<BlockHeader>>Responder to call with the result. Returns None is the block header doesn't exist in
local storage.
Retrieve all transfers in a block with given hash.
Fields of GetBlockTransfers
Store given deploy.
Fields of PutDeploy
Retrieve deploys with given hashes.
Fields of GetDeploys
Retrieve deploy headers with given hashes.
Fields of GetDeployHeaders
deploy_hashes: Multiple<DeployHash>Hashes of deploy headers to be retrieved.
responder: Responder<Vec<Option<DeployHeader>>>Responder to call with the results.
Store execution results for a set of deploys of a single block.
Will return a fatal error if there are already execution results known for a specific deploy/block combination and a different result is inserted.
Inserting the same block/deploy combination multiple times with the same execution results is not an error and will silently be ignored.
Fields of PutExecutionResults
block_hash: BlockHashHash of block.
execution_results: HashMap<DeployHash, ExecutionResult>Mapping of deploys to execution results of the block.
responder: Responder<()>Responder to call when done storing.
Retrieve deploy and its metadata.
Fields of GetDeployAndMetadata
deploy_hash: DeployHashHash of deploy to be retrieved.
responder: Responder<Option<(Deploy, DeployMetadata)>>Responder to call with the results.
Store given chainspec.
Fields of PutChainspec
Retrieve chainspec with given version.
Fields of GetChainspec
Trait Implementations
impl Debug for StorageRequest[src]
impl Display for StorageRequest[src]
impl From<StorageRequest> for Event[src]
pub fn from(request: StorageRequest) -> Self[src]
impl From<StorageRequest> for InitializerEvent[src]
pub fn from(request: StorageRequest) -> Self[src]
impl From<StorageRequest> for Event[src]
pub fn from(request: StorageRequest) -> Self[src]
impl From<StorageRequest> for Event[src]
pub fn from(original: StorageRequest) -> Event[src]
impl Serialize for StorageRequest[src]
Auto Trait Implementations
impl !RefUnwindSafe for StorageRequest[src]
impl Send for StorageRequest[src]
impl Sync for StorageRequest[src]
impl Unpin for StorageRequest[src]
impl !UnwindSafe for StorageRequest[src]
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> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub 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> Serialize for T where
T: Serialize + ?Sized, [src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
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]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,