[−][src]Struct hcid::HcidEncodingConfig
represents an encoding configuration for hcid rendering and parsing
Fields
key_byte_count: usize
byte count of actuall key data that will be encoded
base_parity_byte_count: usize
parity bytes that will be encoded directly into the base32 string (appended after key)
cap_parity_byte_count: usize
parity bytes that will be encoded in the alpha capitalization (appended after base parity)
prefix: Vec<u8>
bytes to prefix before rendering to base32
prefix_cap: Vec<u8>
binary indication of the capitalization for prefix characters
cap_segment_char_count: usize
how many characters are in a capitalization parity segment
encoded_char_count: usize
how many characters long the fully rendered base32 string should be
Auto Trait Implementations
impl Send for HcidEncodingConfig
impl Sync for HcidEncodingConfig
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,