pub struct BareBytes<const MAX_LEN: usize>;Expand description
A byte sequence without length.
Its length is stored somewhere else.
Trait Implementations§
Source§impl<const MAX_LEN: usize> BytesRepr for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> BytesRepr for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> Copy for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> Eq for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> StructuralPartialEq for BareBytes<MAX_LEN>
Auto Trait Implementations§
impl<const MAX_LEN: usize> Freeze for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> RefUnwindSafe for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> Send for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> Sync for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> Unpin for BareBytes<MAX_LEN>
impl<const MAX_LEN: usize> UnwindSafe for BareBytes<MAX_LEN>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more