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.
pub trait SwarmSourceAdapter: Send + Sync {
// Required methods
fn provider(&self) -> SwarmProviderName;
fn collect(&self) -> SwarmSourceSnapshot;
}Common interface for live and fixture-backed swarm status providers.