pub struct OwnedBytes {
pub ptr: NonNull<u8>,
pub len: usize,
}Expand description
Bytes owned by the backend and freed via Sqlite3Serialize::free.
Fields§
§ptr: NonNull<u8>Pointer returned by backend serialize allocator.
len: usizeLength of serialized byte payload.
Trait Implementations§
Source§impl Clone for OwnedBytes
impl Clone for OwnedBytes
Source§fn clone(&self) -> OwnedBytes
fn clone(&self) -> OwnedBytes
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 moreSource§impl Debug for OwnedBytes
impl Debug for OwnedBytes
impl Copy for OwnedBytes
Auto Trait Implementations§
impl Freeze for OwnedBytes
impl RefUnwindSafe for OwnedBytes
impl !Send for OwnedBytes
impl !Sync for OwnedBytes
impl Unpin for OwnedBytes
impl UnsafeUnpin for OwnedBytes
impl UnwindSafe for OwnedBytes
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