Struct askar_crypto::buffer::HexRepr
source · pub struct HexRepr<B>(pub B);
Expand description
A utility type used to print or serialize a byte string as hex
Tuple Fields§
§0: B
Trait Implementations§
source§impl<B: AsRef<[u8]>> PartialEq<&str> for HexRepr<B>
impl<B: AsRef<[u8]>> PartialEq<&str> for HexRepr<B>
Auto Trait Implementations§
impl<B> RefUnwindSafe for HexRepr<B>where
B: RefUnwindSafe,
impl<B> Send for HexRepr<B>where
B: Send,
impl<B> Sync for HexRepr<B>where
B: Sync,
impl<B> Unpin for HexRepr<B>where
B: Unpin,
impl<B> UnwindSafe for HexRepr<B>where
B: UnwindSafe,
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