pub struct SkipWhitespace(pub Decoder);
Expand description
Decoder wrapper that skips whitespace during decoding instead of panicking.
const KEY: [u8; 64] = SkipWhitespace(Decoder::Hex).decode(b"
9e55d1e1 aa1f455b 8baad9fd f9755036 55f8b359 d542fa7e
4ce84106 d625b352 06fac1f2 2240cffd 637ead66 47188429
fafda9c9 cb7eae43 386ac17f 61115075
");
Decodes input into a byte array.
- Panics if the provided length is insufficient or too large for
input.
- Panics if
input contains invalid chars.
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.