[−][src]Struct delog::hex::HexStr
Zero-sized wrapper newtype, allowing grouping bytes in blocks of N hexadecimals during formatting.
Use the method with the same name to construct this from your byte array or slice,
or preferrably the hex_str!
or hexstr!
macro.
Fields
value: &'a T
The value to be formatted.
Trait Implementations
impl<T: ?Sized, S, U> Debug for HexStr<'_, T, U, S> where
T: AsRef<[u8]>,
U: Unsigned,
S: Separator,
[src]
T: AsRef<[u8]>,
U: Unsigned,
S: Separator,
impl<T: ?Sized, U, S> Display for HexStr<'_, T, U, S> where
T: AsRef<[u8]>,
U: Unsigned,
S: Separator,
[src]
T: AsRef<[u8]>,
U: Unsigned,
S: Separator,
impl<'a, T: ?Sized, U, S> LowerHex for HexStr<'a, T, U, S> where
T: AsRef<[u8]>,
U: Unsigned,
S: Separator,
[src]
T: AsRef<[u8]>,
U: Unsigned,
S: Separator,
impl<'a, T: ?Sized, U, S> UpperHex for HexStr<'a, T, U, S> where
T: AsRef<[u8]>,
U: Unsigned,
S: Separator,
[src]
T: AsRef<[u8]>,
U: Unsigned,
S: Separator,
Auto Trait Implementations
impl<'a, T: ?Sized, U, S> RefUnwindSafe for HexStr<'a, T, U, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
[src]
S: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<'a, T: ?Sized, U, S> Send for HexStr<'a, T, U, S> where
S: Send,
T: Sync,
U: Send,
[src]
S: Send,
T: Sync,
U: Send,
impl<'a, T: ?Sized, U, S> Sync for HexStr<'a, T, U, S> where
S: Sync,
T: Sync,
U: Sync,
[src]
S: Sync,
T: Sync,
U: Sync,
impl<'a, T: ?Sized, U, S> Unpin for HexStr<'a, T, U, S> where
S: Unpin,
U: Unpin,
[src]
S: Unpin,
U: Unpin,
impl<'a, T: ?Sized, U, S> UnwindSafe for HexStr<'a, T, U, S> where
S: UnwindSafe,
T: RefUnwindSafe,
U: UnwindSafe,
[src]
S: UnwindSafe,
T: RefUnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,