Skip to main content

RemoteAgentSpecification

Trait RemoteAgentSpecification 

Source
pub trait RemoteAgentSpecification: Sized + 'static {
    type LocalConfiguration: LocalConfiguration<Self>;
    type AuthoritativeConfiguration: AuthoritativeConfiguration;
    type ConfigurationUpdates: ConfigUpdatesRunner;
}
Expand description

The types that make up a remote agent.

A binary implements this on a marker type named after itself, such as enum AgentDataPlane {}, and drives the startup sequence with RemoteAgent<AgentDataPlane>.

Required Associated Types§

Source

type LocalConfiguration: LocalConfiguration<Self>

The configuration from local sources, loaded before the configuration authority is selected.

Source

type AuthoritativeConfiguration: AuthoritativeConfiguration

The configuration that results once the configuration authority is selected.

Source

type ConfigurationUpdates: ConfigUpdatesRunner

Applies the configuration updates that the Datadog Agent sends after its initial snapshot.

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§