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,