Skip to main content

Module error_serialize

Module error_serialize 

Source
Expand description

Serializer / deserializer for any boxed error. The string representation of the error, and its source chain can roundtrip across the serialization. The actual types are lost (downcast will not work).

Re-exportsยง

use std::error::Error as StdError; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserializer; ๐Ÿ”’
use serde::Serializer; ๐Ÿ”’
use serde::ser::SerializeStruct; ๐Ÿ”’
use crate::error::StringTypedError; ๐Ÿ”’

Functionsยง

deserialize
serialize