pub struct BlobCacheGenerator { /* private fields */ }Implementations§
Source§impl BlobCacheGenerator
impl BlobCacheGenerator
pub fn new(storage: ArtifactStorage) -> Result<Self>
pub fn write_blob_meta( &self, data: &[u8], header: &BlobCompressionContextHeader, ) -> Result<()>
pub fn write_blob_data( &self, chunk_data: &[u8], chunk_info: &ChunkWrapper, aligned_d_size: u32, ) -> Result<()>
pub fn finalize(&self, name: &str) -> Result<()>
Auto Trait Implementations§
impl !Freeze for BlobCacheGenerator
impl RefUnwindSafe for BlobCacheGenerator
impl Send for BlobCacheGenerator
impl Sync for BlobCacheGenerator
impl Unpin for BlobCacheGenerator
impl UnwindSafe for BlobCacheGenerator
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