Skip to main content

CloudConfigExt

Trait CloudConfigExt 

Source
pub trait CloudConfigExt {
    // Required methods
    fn origin(&self) -> Result<String, CloudError>;
    fn root_key(&self, origin: &str) -> Result<[u8; 32], CloudError>;
}
Expand description

The Cloud’s origin and root key of a [cloud] section (the section type lives in the engine; these rules are the connector’s).

Required Methods§

Source

fn origin(&self) -> Result<String, CloudError>

The configured origin, normalized and checked.

Source

fn root_key(&self, origin: &str) -> Result<[u8; 32], CloudError>

The root key that signs this Cloud’s key set.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§