Function serde_save::save_errors
source · pub fn save_errors<T: Serialize>(t: T) -> Save<'static, Error>Expand description
Save the serialization tree, annotating it with Save::Error if:
- Any node’s call to
serde::Serialize::serializefails. - Any node has any protocol errors.