#[repr(i32)]pub enum ParameterError {
Bind = 458,
Range = 714,
Resolve = 970,
InvalidIndex = 1_226,
}Expand description
An error passing prepared statement parameter(s) to SQLite.
(This error category is defined by Squire; not SQLite.
No SQLite result codes correspond to ParameterError.)
Variants§
Bind = 458
Binding a parameter failed;
into_bind_value returned an error.
Range = 714
Binding a parameter failed; the value is out of range for
the SQLite data type it would be bound as. (For example, trying to bind
a u64 value that doesn’t fit in an i64.)
Resolve = 970
InvalidIndex = 1_226
Creating a BindIndex failed because the input
value was zero or negative.
Trait Implementations§
Source§impl Clone for ParameterError
impl Clone for ParameterError
Source§fn clone(&self) -> ParameterError
fn clone(&self) -> ParameterError
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 ParameterError
impl Debug for ParameterError
Source§impl From<ParameterError> for ErrorReason
impl From<ParameterError> for ErrorReason
Source§fn from(value: ParameterError) -> Self
fn from(value: ParameterError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParameterError
impl PartialEq for ParameterError
impl Copy for ParameterError
impl Eq for ParameterError
impl StructuralPartialEq for ParameterError
Auto Trait Implementations§
impl Freeze for ParameterError
impl RefUnwindSafe for ParameterError
impl Send for ParameterError
impl Sync for ParameterError
impl Unpin for ParameterError
impl UnsafeUnpin for ParameterError
impl UnwindSafe for ParameterError
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