Struct DirectoryOciStore
pub struct DirectoryOciStore { /* private fields */ }Implementations§
§impl DirectoryOciStore
impl DirectoryOciStore
pub fn new(repo: Arc<DirectoryRepo>) -> Self
Trait Implementations§
§impl Clone for DirectoryOciStore
impl Clone for DirectoryOciStore
§fn clone(&self) -> DirectoryOciStore
fn clone(&self) -> DirectoryOciStore
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl OciDistributionStore for DirectoryOciStore
impl OciDistributionStore for DirectoryOciStore
fn get_blob<'life0, 'life1, 'async_trait>(
&'life0 self,
digest: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<StoredBlob, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_manifest<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
repository: &'life1 str,
reference: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<StoredManifest, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn put_manifest<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
repository: &'life1 str,
reference: &'life2 str,
manifest_bytes: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<StoredManifest, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn start_blob_upload<'life0, 'life1, 'async_trait>(
&'life0 self,
repository: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<OciBlobUploadSession, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn append_blob_upload<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
repository: &'life1 str,
upload_id: &'life2 str,
chunk: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<OciBlobUploadSession, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn finalize_blob_upload<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
repository: &'life1 str,
upload_id: &'life2 str,
digest: &'life3 str,
final_chunk: Option<&'life4 [u8]>,
) -> Pin<Box<dyn Future<Output = Result<B256, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Auto Trait Implementations§
impl Freeze for DirectoryOciStore
impl RefUnwindSafe for DirectoryOciStore
impl Send for DirectoryOciStore
impl Sync for DirectoryOciStore
impl Unpin for DirectoryOciStore
impl UnsafeUnpin for DirectoryOciStore
impl UnwindSafe for DirectoryOciStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more