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::serialize
fails. - Any node has any protocol errors.
pub fn save_errors<T: Serialize>(t: T) -> Save<'static, Error>
Save the serialization tree, annotating it with Save::Error
if:
serde::Serialize::serialize
fails.