Struct diem_sdk::types::on_chain_config::ConfigID [−][src]
pub struct ConfigID(_, _);
Expand description
To register an on-chain config in Rust:
- Implement the
OnChainConfig
trait for the Rust representation of the config - Add the config’s
ConfigID
toON_CHAIN_CONFIG_REGISTRY
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConfigID
impl UnwindSafe for ConfigID
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more