pub trait NeededBlobsProxyInterface: Send + Sync {
    type OpenMetaBlobResponseFut: Future<Output = Result<NeededBlobsOpenMetaBlobResult, Error>> + Send;
    type OpenBlobResponseFut: Future<Output = Result<NeededBlobsOpenBlobResult, Error>> + Send;
    type BlobWrittenResponseFut: Future<Output = Result<NeededBlobsBlobWrittenResult, Error>> + Send;
    type AbortResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn open_meta_blob(
        &self,
        blob_type: BlobType
    ) -> Self::OpenMetaBlobResponseFut;
    fn get_missing_blobs(
        &self,
        iterator: ServerEnd<BlobInfoIteratorMarker>
    ) -> Result<(), Error>;
    fn open_blob(
        &self,
        blob_id: &BlobId,
        blob_type: BlobType
    ) -> Self::OpenBlobResponseFut;
    fn blob_written(&self, blob_id: &BlobId) -> Self::BlobWrittenResponseFut;
    fn abort(&self) -> Self::AbortResponseFut;
}

Required Associated Types§

Required Methods§

source

fn open_meta_blob(&self, blob_type: BlobType) -> Self::OpenMetaBlobResponseFut

source

fn get_missing_blobs( &self, iterator: ServerEnd<BlobInfoIteratorMarker> ) -> Result<(), Error>

source

fn open_blob( &self, blob_id: &BlobId, blob_type: BlobType ) -> Self::OpenBlobResponseFut

source

fn blob_written(&self, blob_id: &BlobId) -> Self::BlobWrittenResponseFut

source

fn abort(&self) -> Self::AbortResponseFut

Implementors§