INNER CODE UNIT · Rust
search_observations
Symph0nia/CyberEdge · src/repository/mod.rs:177
async fn search_observations(&self, task_id: &str)
-> Result<Vec<Observation>, RepositoryError>;
async fn get_evidence(&self, evidence_id: &str) -> Result<Evidence, RepositoryError>;
async fn claim_task(
&self,
timestamp: prost_types::Timestamp,
) -> Result<Option<ClaimedTask>, RepositoryError>;
async fn complete_task(
&self,
task_id: &str,
records: Vec<DiscoveryRecord>,
timestamp: prost_types::Timestamp,
) -> Result<(), RepositoryError>;
async fn fail_task(