INNER CODE UNIT · Rust

fail_task

Symph0nia/CyberEdge · src/repository/mod.rs:194

    async fn fail_task(
        &self,
        task_id: &str,
        timestamp: prost_types::Timestamp,
    ) -> Result<(), RepositoryError>;

    async fn read_overview(&self) -> Result<ReadOverview, RepositoryError>;

    async fn search_audit(&self) -> Result<Vec<AuditEvent>, RepositoryError>;
}

#[async_trait]
pub trait WebReadRepository: Send + Sync {
    async fn read_overview(&self) -> Result<ReadOverview, RepositoryError>;
    async fn search_assets(&self, scope_id: &str) -> Result<Vec<Asset>, RepositoryError>;
    async fn search_services(&self, scope_id: &str) -> Result<Vec<Service>, RepositoryError>;
    async fn search_certificates(
        &self,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…