pub struct HexId<'a>(pub &'a [u8]);
Expand description
Borrowed version of a “hex ID”, like a span ID, UUID, &c, represented by a byte slice.
Tuple Fields§
§0: &'a [u8]
Implementations§
Trait Implementations§
impl<'a> Copy for HexId<'a>
impl<'a> Eq for HexId<'a>
impl<'a> StructuralPartialEq for HexId<'a>
Auto Trait Implementations§
impl<'a> Freeze for HexId<'a>
impl<'a> RefUnwindSafe for HexId<'a>
impl<'a> Send for HexId<'a>
impl<'a> Sync for HexId<'a>
impl<'a> Unpin for HexId<'a>
impl<'a> UnwindSafe for HexId<'a>
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