We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Copy
FixedOctetString<N>
1 parent 5108ccf commit 8e3b20aCopy full SHA for 8e3b20a
src/types/strings/octet.rs
@@ -10,7 +10,7 @@ pub use bytes::Bytes as OctetString;
10
/// An `OCTET STRING` which has a fixed size range. This type uses const
11
/// generics to be able to place the octet string on the stack rather than the
12
/// heap.
13
-#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
14
pub struct FixedOctetString<const N: usize>([u8; N]);
15
16
impl<const N: usize> FixedOctetString<N> {
0 commit comments