Struct ockam_core::Error [−][src]
pub struct Error { /* fields omitted */ }
Expand description
The type of errors returned by Ockam functions.
This type has two implementations that are switched depending on
whether the "std"
Cargo feature is enabled.
std
When the "std"
feature is enabled and the Rust Standard Library is
available, the Error
stores:
- Error Code: A
u32
representing the the presise error. - Error Domain: An error domain string.
no_std
When the "std"
feature is not enabled we assume that the Rust Standard
Library is not available, the Error
stores:
- Error Code: A
u32
representing the the presise error.
Implementations
Trait Implementations
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error