pub struct CloudOutboxRecords<'connection> { /* private fields */ }Implementations§
Source§impl<'connection> CloudOutboxRecords<'connection>
impl<'connection> CloudOutboxRecords<'connection>
pub fn consume_created_upload_handoff( &self, package: &AudiencePackage, binding: &RowBlobLocatorBinding, ) -> Result<bool, DbError>
pub fn created_upload_handoff( &self, table: &str, row_id: &str, column: &str, row_stamp: &str, ) -> Result<Option<StoreWriteRemoteBlob>, DbError>
pub fn upload_entries_for_rows( &self, rows: &[RowBlobRef], ) -> Result<Vec<OutboxEntry>, DbError>
pub fn upload_entries_for_root( &self, gates: &Gates, tables: &[SyncedTable], root_table: &str, root_id: &str, ) -> Result<Vec<OutboxEntry>, DbError>
pub fn enqueue_upload( &self, root_table: &str, root_id: &str, root_label: &str, row: &RowBlobRef, source_path: &Path, retain_pinned: bool, created_at: &str, ) -> Result<(), DbError>
pub fn enqueue_delete( &self, stored: &StoredBlobRef, created_at: &str, ) -> Result<(), DbError>
pub fn remove_entry(&self, entry: &OutboxEntry) -> Result<(), DbError>
pub fn finish_cancelled_upload( &self, entry: &OutboxEntry, ) -> Result<bool, DbError>
Auto Trait Implementations§
impl<'connection> Freeze for CloudOutboxRecords<'connection>
impl<'connection> !RefUnwindSafe for CloudOutboxRecords<'connection>
impl<'connection> !Send for CloudOutboxRecords<'connection>
impl<'connection> !Sync for CloudOutboxRecords<'connection>
impl<'connection> Unpin for CloudOutboxRecords<'connection>
impl<'connection> UnsafeUnpin for CloudOutboxRecords<'connection>
impl<'connection> !UnwindSafe for CloudOutboxRecords<'connection>
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