Struct minicbor::bytes::ByteArray [−][src]
#[repr(transparent)]pub struct ByteArray<const N: usize>(_);
Expand description
Newtype for [u8; N]
.
Used to implement Encode
and Decode
which translate to
CBOR bytes instead of arrays for u8
s.
Trait Implementations
Mutably borrows from an owned value. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<const N: usize> RefUnwindSafe for ByteArray<N>
impl<const N: usize> UnwindSafe for ByteArray<N>
Blanket Implementations
Mutably borrows from an owned value. Read more