pub struct Batch<'a> { /* private fields */ }
Expand description
A batch of operations that modify the blob store.
Implementations§
Source§impl<'a> Batch<'a>
impl<'a> Batch<'a>
pub fn add_bytes(&self, data: impl Into<Bytes>) -> BatchAddProgress<'_>
pub fn add_bytes_with_opts( &self, options: impl Into<AddBytesOptions>, ) -> BatchAddProgress<'_>
pub fn add_slice(&self, data: impl AsRef<[u8]>) -> BatchAddProgress<'_>
pub fn add_path_with_opts( &self, options: impl Into<AddPathOptions>, ) -> BatchAddProgress<'_>
pub async fn temp_tag(&self, value: impl Into<HashAndFormat>) -> Result<TempTag>
Auto Trait Implementations§
impl<'a> Freeze for Batch<'a>
impl<'a> !RefUnwindSafe for Batch<'a>
impl<'a> Send for Batch<'a>
impl<'a> Sync for Batch<'a>
impl<'a> Unpin for Batch<'a>
impl<'a> !UnwindSafe for Batch<'a>
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