ctap2-proto: Derive Debug for helper type UsizeN

main
Nick Zana 2 years ago
parent 1ca1793a24
commit 3f61a17784

@ -8,7 +8,7 @@ use std::num::NonZeroUsize;
use std::usize; use std::usize;
/// A usize with a minimum value of N /// A usize with a minimum value of N
#[derive(PartialEq, Eq)] #[derive(Debug, PartialEq, Eq)]
pub struct UsizeN<const N: usize>(bounded_integer::BoundedUsize<N, { usize::MAX }>); pub struct UsizeN<const N: usize>(bounded_integer::BoundedUsize<N, { usize::MAX }>);
/// > data type byte string and identifying the authenticator model, i.e. /// > data type byte string and identifying the authenticator model, i.e.

Loading…
Cancel
Save