Struct essrpc::GenericSerializableError
source · pub struct GenericSerializableError { /* private fields */ }
Expand description
Generic serializable error with a description and optional cause. Used in conjunction with RPCError.
Implementations§
Trait Implementations§
source§impl Debug for GenericSerializableError
impl Debug for GenericSerializableError
source§impl<'de> Deserialize<'de> for GenericSerializableError
impl<'de> Deserialize<'de> for GenericSerializableError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for GenericSerializableError
impl Display for GenericSerializableError
source§impl Error for GenericSerializableError
impl Error for GenericSerializableError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()