Module ic_agent::request_id[][src]

Expand description

This module deals with computing Request IDs based on the content of a message.

We compute the RequestId according to the public spec, which specifies it as a “sha256” digest.

A single method is exported, to_request_id, which returns a RequestId (a 256 bits slice) or an error.

Re-exports

pub use error::RequestIdError;

Modules

error

Error type for the RequestId calculation.

Structs

RequestId

A Request ID.

Functions

to_request_id

Derive the request ID from a serializable data structure.