pub struct Reservation(/* private fields */);Expand description
A request for SQLite to allocate a blob of a certain size.
When a Reservation is used as a prepared
statement parameter, SQLite will create a BLOB of the
requested length and set every byte in the blob to \0.
Implementations§
Source§impl Reservation
impl Reservation
Trait Implementations§
Source§impl<'b> Bind<'b> for Reservation
impl<'b> Bind<'b> for Reservation
Source§type Value = Reservation
type Value = Reservation
A type directly handled by the SQLite parameter binding API.
Source§impl<'b> Bind<'b> for Reservation
impl<'b> Bind<'b> for Reservation
When a Reservation is used as a prepared statement
parameter, SQLite will create a BLOB of the requested length
and set every byte in the blob to \0.
Source§unsafe fn bind_parameter<'c>(
self,
statement: &Statement<'c>,
index: BindIndex,
) -> Result<()>where
'c: 'b,
unsafe fn bind_parameter<'c>(
self,
statement: &Statement<'c>,
index: BindIndex,
) -> Result<()>where
'c: 'b,
Source§unsafe fn bind_return<'c>(self, context: &ContextRef<'c>)where
'b: 'c,
unsafe fn bind_return<'c>(self, context: &ContextRef<'c>)where
'b: 'c,
Available on crate feature
functions only.Source§impl Clone for Reservation
impl Clone for Reservation
Source§fn clone(&self) -> Reservation
fn clone(&self) -> Reservation
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 Reservation
impl Debug for Reservation
Source§impl<T> From<T> for Reservation
impl<T> From<T> for Reservation
Source§impl Ord for Reservation
impl Ord for Reservation
Source§fn cmp(&self, other: &Reservation) -> Ordering
fn cmp(&self, other: &Reservation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Reservation
impl PartialEq for Reservation
Source§impl PartialOrd for Reservation
impl PartialOrd for Reservation
impl Copy for Reservation
impl Eq for Reservation
impl StructuralPartialEq for Reservation
Auto Trait Implementations§
impl Freeze for Reservation
impl RefUnwindSafe for Reservation
impl Send for Reservation
impl Sync for Reservation
impl Unpin for Reservation
impl UnsafeUnpin for Reservation
impl UnwindSafe for Reservation
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