ctap2-proto: derive serde traits for authenticator::reset::Error

main
Nick Zana 2 years ago
parent b5e33f889e
commit 7db826dc78

@ -1,4 +1,9 @@
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
/// Possible errors for the [`Ctap2Device::reset`] command.
#[derive(Debug)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub enum Error {
/// Returned if the `reset` operation is disabled for the transport used or
/// if user precense is explicitly denied.

Loading…
Cancel
Save