mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust/pv: Retrievable secrets support
Support retrievable secret for Add-Secret requests. Acked-by: Marc Hartmayer <marc@linux.ibm.com> Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
4af137f4fa
commit
fd024387d7
@@ -109,6 +109,14 @@ pub enum Error {
|
||||
#[error("An ASCII string was expected, but non-ASCII characters were received.")]
|
||||
NonAscii,
|
||||
|
||||
#[error("Incorrect {what} for a {kind}. Is: {value}; expected: {exp}")]
|
||||
RetrInvKey {
|
||||
what: &'static str,
|
||||
kind: String,
|
||||
value: String,
|
||||
exp: String,
|
||||
},
|
||||
|
||||
// errors from other crates
|
||||
#[error(transparent)]
|
||||
PvCore(#[from] pv_core::Error),
|
||||
|
||||
Reference in New Issue
Block a user