Trait Config

Source
pub trait Config: 'static {
    const METHOD_AUTHORIZATIONS: Lazy<Authorization> = _;
}
Expand description

Module configuration.

Provided Associated Constants§

Source

const METHOD_AUTHORIZATIONS: Lazy<Authorization> = _

To filter methods by caller address, add them to this mapping.

If the mapping is empty, no method is filtered.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§