pub enum SqlParameterError {
Empty,
ZeroIndex,
InvalidIndexed,
InvalidName,
UnknownStyle,
Identifier(SqlIdentifierError),
}Expand description
Error returned when SQL parameter placeholders are invalid.
Variants§
Trait Implementations§
Source§impl Clone for SqlParameterError
impl Clone for SqlParameterError
Source§fn clone(&self) -> SqlParameterError
fn clone(&self) -> SqlParameterError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SqlParameterError
impl Debug for SqlParameterError
Source§impl Display for SqlParameterError
impl Display for SqlParameterError
Source§impl Error for SqlParameterError
impl Error for SqlParameterError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SqlParameterError
impl PartialEq for SqlParameterError
Source§fn eq(&self, other: &SqlParameterError) -> bool
fn eq(&self, other: &SqlParameterError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SqlParameterError
impl StructuralPartialEq for SqlParameterError
Auto Trait Implementations§
impl Freeze for SqlParameterError
impl RefUnwindSafe for SqlParameterError
impl Send for SqlParameterError
impl Sync for SqlParameterError
impl Unpin for SqlParameterError
impl UnsafeUnpin for SqlParameterError
impl UnwindSafe for SqlParameterError
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