Skip to main content

SwarmSourceAdapter

Trait SwarmSourceAdapter 

Source
pub trait SwarmSourceAdapter: Send + Sync {
    // Required methods
    fn provider(&self) -> SwarmProviderName;
    fn collect(&self) -> SwarmSourceSnapshot;
}
Expand description

Common interface for live and fixture-backed swarm status providers.

Required Methods§

Implementors§