Function hotshot_types::event::error_adaptor::deserialize

source ·
pub fn deserialize<'de, D: Deserializer<'de>, TYPES: NodeType>(
    deserializer: D,
) -> Result<Arc<HotShotError<TYPES>>, D::Error>
Expand description

Convert a string into a HotShotError

§Errors

Returns Err if the string cannot be deserialized.