pub trait CBORResponse:
Sized
+ Debug
+ Send {
// Required method
fn try_from(i: &[u8]) -> Result<Self, WebauthnCError>;
}Available on crate feature
ctap2 only.Expand description
Common trait for all CBOR responses.
Ths handles some of the response deserialization process.
Required Methods§
fn try_from(i: &[u8]) -> Result<Self, WebauthnCError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl CBORResponse for GetInfoResponse
impl CBORResponse for BioEnrollmentResponse
Available on crate feature
ctap2-management only.impl CBORResponse for ClientPinResponse
impl CBORResponse for CredentialManagementResponse
Available on crate feature
ctap2-management only.