pub enum SqlSerializeError {
InvalidRoot,
Message(String),
}Expand description
Errors emitted while serialising a struct into SQL literals.
Variants§
InvalidRoot
A non-struct root was provided to the serializer.
Message(String)
A custom error originating from conversion or encoding.
Trait Implementations§
Source§impl Debug for SqlSerializeError
impl Debug for SqlSerializeError
Source§impl Display for SqlSerializeError
impl Display for SqlSerializeError
Source§impl Error for SqlSerializeError
impl Error for SqlSerializeError
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()
Auto Trait Implementations§
impl Freeze for SqlSerializeError
impl RefUnwindSafe for SqlSerializeError
impl Send for SqlSerializeError
impl Sync for SqlSerializeError
impl Unpin for SqlSerializeError
impl UnwindSafe for SqlSerializeError
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