Struct dysql::ErrorInner
source · pub struct ErrorInner {
pub kind: Kind,
pub cause: Option<Box<dyn Error + Send + Sync>>,
pub message: Option<String>,
}Fields§
§kind: Kind§cause: Option<Box<dyn Error + Send + Sync>>§message: Option<String>Implementations§
Trait Implementations§
source§impl Debug for ErrorInner
impl Debug for ErrorInner
source§impl Serialize for ErrorInner
impl Serialize for ErrorInner
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ErrorInner
impl !RefUnwindSafe for ErrorInner
impl Send for ErrorInner
impl Sync for ErrorInner
impl Unpin for ErrorInner
impl !UnwindSafe for ErrorInner
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