Function encryption::config::encryption_method_serde::serialize[][src]

pub fn serialize<S>(
    method: &EncryptionMethod,
    serializer: S
) -> Result<S::Ok, S::Error> where
    S: Serializer