cargo_credential::error::error_serialize

Function serialize

Source
pub fn serialize<S>(
    e: &Box<dyn StdError + Send + Sync>,
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer,