增加提示

This commit is contained in:
lubeilin
2023-09-20 16:03:25 +08:00
parent 4422f9f8b7
commit 3429ee8bd6
2 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ impl FromStr for CipherModel {
"aes_gcm" => Ok(CipherModel::AesGcm),
"aes_cbc" => Ok(CipherModel::AesCbc),
"aes_ecb" => Ok(CipherModel::AesEcb),
_ => Err(format!("not match '{}'", s)),
_ => Err(format!("not match '{}', enum:aes_gcm/aes_cbc/aes_ecb", s)),
}
}
}