pub struct BlobDecls { /* private fields */ }Expand description
The blob declarations for a database handle, resolved from the declared set + the live schema at open. A synced table absent from this map carries no blob.
Implementations§
Source§impl BlobDecls
impl BlobDecls
Sourcepub fn ref_from_change(
&self,
change: &RowChange,
) -> Result<Option<BlobRef>, BlobDeclError>
pub fn ref_from_change( &self, change: &RowChange, ) -> Result<Option<BlobRef>, BlobDeclError>
The blob a single changeset row references, or None when the row’s table
carries no blob or the blob id is absent/NULL. Reads the declared columns
off the changeset row (which reports columns in schema order, the order the
resolved indices address).
Auto Trait Implementations§
impl Freeze for BlobDecls
impl RefUnwindSafe for BlobDecls
impl Send for BlobDecls
impl Sync for BlobDecls
impl Unpin for BlobDecls
impl UnsafeUnpin for BlobDecls
impl UnwindSafe for BlobDecls
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