Trait QueueConnection

Source
pub trait QueueConnection {
    type Blob: QueueBlob;

    // Required methods
    async fn get_blob(
        &self,
        backend_ids: BackendIds,
        key: &str,
    ) -> Result<Self::Blob>;
    async fn create_blob(&self, key: &str) -> Result<Self::Blob>;
    async fn list(&self) -> Result<Vec<Artifact>>;
}

Required Associated Types§

Required Methods§

Source

async fn get_blob( &self, backend_ids: BackendIds, key: &str, ) -> Result<Self::Blob>

Source

async fn create_blob(&self, key: &str) -> Result<Self::Blob>

Source

async fn list(&self) -> Result<Vec<Artifact>>

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§