diff --git a/api/all-features.txt b/api/all-features.txt index 7c22531..008ea3a 100644 --- a/api/all-features.txt +++ b/api/all-features.txt @@ -1,54 +1,96 @@ +#[non_exhaustive] pub struct hex_conservative::error::ContainsPrefixError +#[non_exhaustive] pub struct hex_conservative::error::MissingPrefixError impl core::clone::Clone for hex_conservative::Case -impl core::clone::Clone for hex_conservative::HexToArrayError -impl core::clone::Clone for hex_conservative::HexToBytesError -impl core::clone::Clone for hex_conservative::OddLengthStringError +impl core::clone::Clone for hex_conservative::error::ContainsPrefixError +impl core::clone::Clone for hex_conservative::error::HexToArrayError +impl core::clone::Clone for hex_conservative::error::InvalidCharError +impl core::clone::Clone for hex_conservative::error::InvalidLengthError +impl core::clone::Clone for hex_conservative::error::MissingPrefixError +impl core::clone::Clone for hex_conservative::error::OddLengthStringError impl core::cmp::Eq for hex_conservative::Case -impl core::cmp::Eq for hex_conservative::HexToArrayError -impl core::cmp::Eq for hex_conservative::HexToBytesError -impl core::cmp::Eq for hex_conservative::OddLengthStringError +impl core::cmp::Eq for hex_conservative::error::ContainsPrefixError +impl core::cmp::Eq for hex_conservative::error::HexToArrayError +impl core::cmp::Eq for hex_conservative::error::InvalidCharError +impl core::cmp::Eq for hex_conservative::error::InvalidLengthError +impl core::cmp::Eq for hex_conservative::error::MissingPrefixError +impl core::cmp::Eq for hex_conservative::error::OddLengthStringError impl core::cmp::PartialEq for hex_conservative::Case -impl core::cmp::PartialEq for hex_conservative::HexToArrayError -impl core::cmp::PartialEq for hex_conservative::HexToBytesError -impl core::cmp::PartialEq for hex_conservative::OddLengthStringError -impl core::convert::From for hex_conservative::HexToArrayError -impl core::convert::From for hex_conservative::HexToBytesError +impl core::cmp::PartialEq for hex_conservative::error::ContainsPrefixError +impl core::cmp::PartialEq for hex_conservative::error::HexToArrayError +impl core::cmp::PartialEq for hex_conservative::error::InvalidCharError +impl core::cmp::PartialEq for hex_conservative::error::InvalidLengthError +impl core::cmp::PartialEq for hex_conservative::error::MissingPrefixError +impl core::cmp::PartialEq for hex_conservative::error::OddLengthStringError +impl core::convert::From for hex_conservative::error::HexToArrayError +impl core::convert::From for hex_conservative::error::HexToArrayError impl core::default::Default for hex_conservative::Case -impl core::error::Error for hex_conservative::HexToArrayError -impl core::error::Error for hex_conservative::HexToBytesError -impl core::error::Error for hex_conservative::OddLengthStringError +impl core::error::Error for hex_conservative::error::ContainsPrefixError +impl core::error::Error for hex_conservative::error::HexToArrayError +impl core::error::Error for hex_conservative::error::InvalidCharError +impl core::error::Error for hex_conservative::error::InvalidLengthError +impl core::error::Error for hex_conservative::error::MissingPrefixError +impl core::error::Error for hex_conservative::error::OddLengthStringError impl core::fmt::Debug for hex_conservative::Case -impl core::fmt::Debug for hex_conservative::HexToArrayError -impl core::fmt::Debug for hex_conservative::HexToBytesError -impl core::fmt::Debug for hex_conservative::OddLengthStringError -impl core::fmt::Display for hex_conservative::HexToArrayError -impl core::fmt::Display for hex_conservative::HexToBytesError -impl core::fmt::Display for hex_conservative::OddLengthStringError +impl core::fmt::Debug for hex_conservative::error::ContainsPrefixError +impl core::fmt::Debug for hex_conservative::error::HexToArrayError +impl core::fmt::Debug for hex_conservative::error::InvalidCharError +impl core::fmt::Debug for hex_conservative::error::InvalidLengthError +impl core::fmt::Debug for hex_conservative::error::MissingPrefixError +impl core::fmt::Debug for hex_conservative::error::OddLengthStringError +impl core::fmt::Display for hex_conservative::error::ContainsPrefixError +impl core::fmt::Display for hex_conservative::error::HexToArrayError +impl core::fmt::Display for hex_conservative::error::InvalidCharError +impl core::fmt::Display for hex_conservative::error::InvalidLengthError +impl core::fmt::Display for hex_conservative::error::MissingPrefixError +impl core::fmt::Display for hex_conservative::error::OddLengthStringError impl core::hash::Hash for hex_conservative::Case impl core::marker::Copy for hex_conservative::Case impl core::marker::Send for hex_conservative::Case -impl core::marker::Send for hex_conservative::HexToArrayError -impl core::marker::Send for hex_conservative::HexToBytesError -impl core::marker::Send for hex_conservative::OddLengthStringError +impl core::marker::Send for hex_conservative::error::ContainsPrefixError +impl core::marker::Send for hex_conservative::error::HexToArrayError +impl core::marker::Send for hex_conservative::error::InvalidCharError +impl core::marker::Send for hex_conservative::error::InvalidLengthError +impl core::marker::Send for hex_conservative::error::MissingPrefixError +impl core::marker::Send for hex_conservative::error::OddLengthStringError impl core::marker::StructuralPartialEq for hex_conservative::Case -impl core::marker::StructuralPartialEq for hex_conservative::HexToArrayError -impl core::marker::StructuralPartialEq for hex_conservative::HexToBytesError -impl core::marker::StructuralPartialEq for hex_conservative::OddLengthStringError +impl core::marker::StructuralPartialEq for hex_conservative::error::ContainsPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::HexToArrayError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidCharError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidLengthError +impl core::marker::StructuralPartialEq for hex_conservative::error::MissingPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::OddLengthStringError impl core::marker::Sync for hex_conservative::Case -impl core::marker::Sync for hex_conservative::HexToArrayError -impl core::marker::Sync for hex_conservative::HexToBytesError -impl core::marker::Sync for hex_conservative::OddLengthStringError +impl core::marker::Sync for hex_conservative::error::ContainsPrefixError +impl core::marker::Sync for hex_conservative::error::HexToArrayError +impl core::marker::Sync for hex_conservative::error::InvalidCharError +impl core::marker::Sync for hex_conservative::error::InvalidLengthError +impl core::marker::Sync for hex_conservative::error::MissingPrefixError +impl core::marker::Sync for hex_conservative::error::OddLengthStringError impl core::marker::Unpin for hex_conservative::Case -impl core::marker::Unpin for hex_conservative::HexToArrayError -impl core::marker::Unpin for hex_conservative::HexToBytesError -impl core::marker::Unpin for hex_conservative::OddLengthStringError +impl core::marker::Unpin for hex_conservative::error::ContainsPrefixError +impl core::marker::Unpin for hex_conservative::error::HexToArrayError +impl core::marker::Unpin for hex_conservative::error::InvalidCharError +impl core::marker::Unpin for hex_conservative::error::InvalidLengthError +impl core::marker::Unpin for hex_conservative::error::MissingPrefixError +impl core::marker::Unpin for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::UnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::OddLengthStringError +impl hex_conservative::error::ContainsPrefixError +impl hex_conservative::error::InvalidCharError +impl hex_conservative::error::MissingPrefixError +impl hex_conservative::error::OddLengthStringError impl hex_conservative::parse::FromHex for alloc::vec::Vec impl<'a, const CAP: usize> core::marker::Send for hex_conservative::display::DisplayArray<'a, CAP> impl<'a, const CAP: usize> core::marker::Sync for hex_conservative::display::DisplayArray<'a, CAP> @@ -108,6 +150,47 @@ impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 9] impl<'a> hex_conservative::display::DisplayHex for &'a [u8] impl<'a> hex_conservative::display::DisplayHex for &'a alloc::vec::Vec impl<'a> std::io::Read for hex_conservative::HexToBytesIter<'a> +impl core::clone::Clone for hex_conservative::error::FromHexError +impl core::clone::Clone for hex_conservative::error::FromNoPrefixHexError +impl core::clone::Clone for hex_conservative::error::FromPrefixedHexError +impl core::cmp::Eq for hex_conservative::error::FromHexError +impl core::cmp::Eq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::Eq for hex_conservative::error::FromPrefixedHexError +impl core::cmp::PartialEq for hex_conservative::error::FromHexError +impl core::cmp::PartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::PartialEq for hex_conservative::error::FromPrefixedHexError +impl core::error::Error for hex_conservative::error::FromHexError +impl core::error::Error for hex_conservative::error::FromNoPrefixHexError +impl core::error::Error for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Debug for hex_conservative::error::FromHexError +impl core::fmt::Debug for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Debug for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Display for hex_conservative::error::FromHexError +impl core::fmt::Display for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Display for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::marker::Send for hex_conservative::error::FromHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromPrefixedHexError where E: core::marker::Send +impl core::marker::StructuralPartialEq for hex_conservative::error::FromHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromPrefixedHexError +impl core::marker::Sync for hex_conservative::error::FromHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromPrefixedHexError where E: core::marker::Sync +impl core::marker::Unpin for hex_conservative::error::FromHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromPrefixedHexError where E: core::marker::Unpin +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::UnwindSafe impl core::iter::traits::double_ended::DoubleEndedIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::double_ended::DoubleEndedIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::exact_size::ExactSizeIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::iterator::Iterator for hex_conservative::BytesToHexIter where I: core::iter::traits::iterator::Iterator @@ -127,10 +210,18 @@ impl core::panic::unwind_safe::UnwindSafe for hex_conservative impl hex_conservative::buf_encoder::BufEncoder impl hex_conservative::parse::FromHex for [u8; LEN] pub enum hex_conservative::Case +pub enum hex_conservative::FromHexError +pub enum hex_conservative::FromNoPrefixHexError +pub enum hex_conservative::FromPrefixedHexError pub enum hex_conservative::HexToArrayError -pub enum hex_conservative::HexToBytesError +pub enum hex_conservative::error::FromHexError +pub enum hex_conservative::error::FromNoPrefixHexError +pub enum hex_conservative::error::FromPrefixedHexError +pub enum hex_conservative::error::HexToArrayError +pub enum hex_conservative::parse::FromHexError +pub enum hex_conservative::parse::FromNoPrefixHexError +pub enum hex_conservative::parse::FromPrefixedHexError pub enum hex_conservative::parse::HexToArrayError -pub enum hex_conservative::parse::HexToBytesError pub fn &'a [u8; 1024]::as_hex(self) -> Self::Display pub fn &'a [u8; 10]::as_hex(self) -> Self::Display pub fn &'a [u8; 11]::as_hex(self) -> Self::Display @@ -162,8 +253,8 @@ pub fn &'a [u8]::as_hex(self) -> Self::Display pub fn &'a [u8]::hex_reserve_suggestion(self) -> usize pub fn &'a alloc::vec::Vec::as_hex(self) -> Self::Display pub fn &'a alloc::vec::Vec::hex_reserve_suggestion(self) -> usize -pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn alloc::vec::Vec::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn alloc::vec::Vec::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator pub fn hex_conservative::BytesToHexIter::len(&self) -> usize pub fn hex_conservative::BytesToHexIter::new(iter: I) -> hex_conservative::BytesToHexIter pub fn hex_conservative::BytesToHexIter::next(&mut self) -> core::option::Option @@ -180,28 +271,17 @@ pub fn hex_conservative::DisplayHex::hex_reserve_suggestion(self) -> usize pub fn hex_conservative::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result -pub fn hex_conservative::HexToArrayError::clone(&self) -> hex_conservative::HexToArrayError -pub fn hex_conservative::HexToArrayError::eq(&self, other: &hex_conservative::HexToArrayError) -> bool -pub fn hex_conservative::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToArrayError::from(e: hex_conservative::HexToBytesError) -> Self -pub fn hex_conservative::HexToArrayError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> -pub fn hex_conservative::HexToBytesError::clone(&self) -> hex_conservative::HexToBytesError -pub fn hex_conservative::HexToBytesError::eq(&self, other: &hex_conservative::HexToBytesError) -> bool -pub fn hex_conservative::HexToBytesError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToBytesError::from(e: hex_conservative::OddLengthStringError) -> Self -pub fn hex_conservative::HexToBytesError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::HexToBytesIter<'a>::len(&self) -> usize -pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::OddLengthStringError> -pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> -pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::error::OddLengthStringError> +pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> pub fn hex_conservative::HexToBytesIter<'a>::read(&mut self, buf: &mut [u8]) -> std::io::error::Result pub fn hex_conservative::HexToBytesIter<'a>::size_hint(&self) -> (usize, core::option::Option) -pub fn hex_conservative::OddLengthStringError::clone(&self) -> hex_conservative::OddLengthStringError -pub fn hex_conservative::OddLengthStringError::eq(&self, other: &hex_conservative::OddLengthStringError) -> bool -pub fn hex_conservative::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::OddLengthStringError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> pub fn hex_conservative::buf_encoder::BufEncoder::as_str(&self) -> &str pub fn hex_conservative::buf_encoder::BufEncoder::clear(&mut self) pub fn hex_conservative::buf_encoder::BufEncoder::default() -> Self @@ -219,30 +299,103 @@ pub fn hex_conservative::display::DisplayHex::hex_reserve_suggestion(self) -> us pub fn hex_conservative::display::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::display::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::display::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::error::ContainsPrefixError::clone(&self) -> hex_conservative::error::ContainsPrefixError +pub fn hex_conservative::error::ContainsPrefixError::eq(&self, other: &hex_conservative::error::ContainsPrefixError) -> bool +pub fn hex_conservative::error::ContainsPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::ContainsPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::FromHexError::clone(&self) -> hex_conservative::error::FromHexError +pub fn hex_conservative::error::FromHexError::eq(&self, other: &hex_conservative::error::FromHexError) -> bool +pub fn hex_conservative::error::FromHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromHexError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::FromNoPrefixHexError::clone(&self) -> hex_conservative::error::FromNoPrefixHexError +pub fn hex_conservative::error::FromNoPrefixHexError::eq(&self, other: &hex_conservative::error::FromNoPrefixHexError) -> bool +pub fn hex_conservative::error::FromNoPrefixHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::ContainsPrefixError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::FromPrefixedHexError::clone(&self) -> hex_conservative::error::FromPrefixedHexError +pub fn hex_conservative::error::FromPrefixedHexError::eq(&self, other: &hex_conservative::error::FromPrefixedHexError) -> bool +pub fn hex_conservative::error::FromPrefixedHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::MissingPrefixError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::HexToArrayError::clone(&self) -> hex_conservative::error::HexToArrayError +pub fn hex_conservative::error::HexToArrayError::eq(&self, other: &hex_conservative::error::HexToArrayError) -> bool +pub fn hex_conservative::error::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidCharError) -> Self +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidLengthError) -> Self +pub fn hex_conservative::error::HexToArrayError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::InvalidCharError::clone(&self) -> hex_conservative::error::InvalidCharError +pub fn hex_conservative::error::InvalidCharError::eq(&self, other: &hex_conservative::error::InvalidCharError) -> bool +pub fn hex_conservative::error::InvalidCharError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::InvalidCharError::invalid_char(&self) -> u8 +pub fn hex_conservative::error::InvalidCharError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::InvalidLengthError::clone(&self) -> hex_conservative::error::InvalidLengthError +pub fn hex_conservative::error::InvalidLengthError::eq(&self, other: &hex_conservative::error::InvalidLengthError) -> bool +pub fn hex_conservative::error::InvalidLengthError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::InvalidLengthError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::MissingPrefixError::clone(&self) -> hex_conservative::error::MissingPrefixError +pub fn hex_conservative::error::MissingPrefixError::eq(&self, other: &hex_conservative::error::MissingPrefixError) -> bool +pub fn hex_conservative::error::MissingPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::MissingPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::OddLengthStringError::clone(&self) -> hex_conservative::error::OddLengthStringError +pub fn hex_conservative::error::OddLengthStringError::eq(&self, other: &hex_conservative::error::OddLengthStringError) -> bool +pub fn hex_conservative::error::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::OddLengthStringError::input_string_length(&self) -> usize +pub fn hex_conservative::error::OddLengthStringError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::prelude::DisplayHex::append_hex_to_string(self, case: hex_conservative::Case, string: &mut alloc::string::String) pub fn hex_conservative::prelude::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::prelude::DisplayHex::hex_reserve_suggestion(self) -> usize pub fn hex_conservative::prelude::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::prelude::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::prelude::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::serde::deserialize<'de, D, T>(d: D) -> core::result::Result::Error> where D: serde::de::Deserializer<'de>, T: serde::de::Deserialize<'de> + hex_conservative::parse::FromHex pub fn hex_conservative::serde::serialize(data: T, s: S) -> core::result::Result<::Ok, ::Error> where S: serde::ser::Serializer, T: serde::ser::Serialize + hex_conservative::display::DisplayHex pub fn hex_conservative::serde::serialize_lower(data: T, serializer: S) -> core::result::Result<::Ok, ::Error> where S: serde::ser::Serializer, T: serde::ser::Serialize + hex_conservative::display::DisplayHex pub fn hex_conservative::serde::serialize_upper(data: T, serializer: S) -> core::result::Result<::Ok, ::Error> where S: serde::ser::Serializer, T: serde::ser::Serialize + hex_conservative::display::DisplayHex pub hex_conservative::Case::Lower pub hex_conservative::Case::Upper -pub hex_conservative::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) -pub hex_conservative::parse::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::parse::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::parse::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::parse::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) +pub hex_conservative::FromHexError::Invalid(E) +pub hex_conservative::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::FromPrefixedHexError::Invalid(E) +pub hex_conservative::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::error::FromHexError::Invalid(E) +pub hex_conservative::error::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::error::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::error::FromPrefixedHexError::Invalid(E) +pub hex_conservative::error::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::error::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::error::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::parse::FromHexError::Invalid(E) +pub hex_conservative::parse::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::parse::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::parse::FromPrefixedHexError::Invalid(E) +pub hex_conservative::parse::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::parse::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::parse::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) pub macro hex_conservative::display::fmt_hex_exact! pub macro hex_conservative::fmt_hex_exact! pub macro hex_conservative::test_hex_unwrap! @@ -250,15 +403,21 @@ pub macro hex_conservative::write_err! pub mod hex_conservative pub mod hex_conservative::buf_encoder pub mod hex_conservative::display +pub mod hex_conservative::error pub mod hex_conservative::parse pub mod hex_conservative::prelude pub mod hex_conservative::serde pub struct hex_conservative::BytesToHexIter> pub struct hex_conservative::HexToBytesIter<'a> +pub struct hex_conservative::InvalidCharError pub struct hex_conservative::OddLengthStringError pub struct hex_conservative::buf_encoder::BufEncoder pub struct hex_conservative::display::DisplayArray<'a, const CAP: usize> pub struct hex_conservative::display::DisplayByteSlice<'a> +pub struct hex_conservative::error::InvalidCharError +pub struct hex_conservative::error::InvalidLengthError +pub struct hex_conservative::error::OddLengthStringError +pub struct hex_conservative::parse::InvalidCharError pub trait hex_conservative::DisplayHex: core::marker::Copy + sealed::IsRef pub trait hex_conservative::FromHex: core::marker::Sized pub trait hex_conservative::display::DisplayHex: core::marker::Copy + sealed::IsRef @@ -294,13 +453,13 @@ pub type &'a [u8; 8]::Display = hex_conservative::display::DisplayArray<'a, {$le pub type &'a [u8; 9]::Display = hex_conservative::display::DisplayArray<'a, {$len * 2}> pub type &'a [u8]::Display = hex_conservative::display::DisplayByteSlice<'a> pub type &'a alloc::vec::Vec::Display = hex_conservative::display::DisplayByteSlice<'a> -pub type [u8; LEN]::Error = hex_conservative::HexToArrayError -pub type alloc::vec::Vec::Error = hex_conservative::HexToBytesError +pub type [u8; LEN]::Error = hex_conservative::error::HexToArrayError +pub type alloc::vec::Vec::Error = hex_conservative::error::InvalidCharError pub type hex_conservative::BytesToHexIter::Item = char pub type hex_conservative::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display -pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result +pub type hex_conservative::FromHex::Error: core::fmt::Debug + core::fmt::Display +pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result pub type hex_conservative::display::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::parse::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::parse::FromHex::Error: core::fmt::Debug + core::fmt::Display pub type hex_conservative::prelude::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::prelude::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::prelude::FromHex::Error: core::fmt::Debug + core::fmt::Display diff --git a/api/alloc.txt b/api/alloc.txt index a50020a..e6b7e57 100644 --- a/api/alloc.txt +++ b/api/alloc.txt @@ -1,51 +1,90 @@ +#[non_exhaustive] pub struct hex_conservative::error::ContainsPrefixError +#[non_exhaustive] pub struct hex_conservative::error::MissingPrefixError impl core::clone::Clone for hex_conservative::Case -impl core::clone::Clone for hex_conservative::HexToArrayError -impl core::clone::Clone for hex_conservative::HexToBytesError -impl core::clone::Clone for hex_conservative::OddLengthStringError +impl core::clone::Clone for hex_conservative::error::ContainsPrefixError +impl core::clone::Clone for hex_conservative::error::HexToArrayError +impl core::clone::Clone for hex_conservative::error::InvalidCharError +impl core::clone::Clone for hex_conservative::error::InvalidLengthError +impl core::clone::Clone for hex_conservative::error::MissingPrefixError +impl core::clone::Clone for hex_conservative::error::OddLengthStringError impl core::cmp::Eq for hex_conservative::Case -impl core::cmp::Eq for hex_conservative::HexToArrayError -impl core::cmp::Eq for hex_conservative::HexToBytesError -impl core::cmp::Eq for hex_conservative::OddLengthStringError +impl core::cmp::Eq for hex_conservative::error::ContainsPrefixError +impl core::cmp::Eq for hex_conservative::error::HexToArrayError +impl core::cmp::Eq for hex_conservative::error::InvalidCharError +impl core::cmp::Eq for hex_conservative::error::InvalidLengthError +impl core::cmp::Eq for hex_conservative::error::MissingPrefixError +impl core::cmp::Eq for hex_conservative::error::OddLengthStringError impl core::cmp::PartialEq for hex_conservative::Case -impl core::cmp::PartialEq for hex_conservative::HexToArrayError -impl core::cmp::PartialEq for hex_conservative::HexToBytesError -impl core::cmp::PartialEq for hex_conservative::OddLengthStringError -impl core::convert::From for hex_conservative::HexToArrayError -impl core::convert::From for hex_conservative::HexToBytesError +impl core::cmp::PartialEq for hex_conservative::error::ContainsPrefixError +impl core::cmp::PartialEq for hex_conservative::error::HexToArrayError +impl core::cmp::PartialEq for hex_conservative::error::InvalidCharError +impl core::cmp::PartialEq for hex_conservative::error::InvalidLengthError +impl core::cmp::PartialEq for hex_conservative::error::MissingPrefixError +impl core::cmp::PartialEq for hex_conservative::error::OddLengthStringError +impl core::convert::From for hex_conservative::error::HexToArrayError +impl core::convert::From for hex_conservative::error::HexToArrayError impl core::default::Default for hex_conservative::Case impl core::fmt::Debug for hex_conservative::Case -impl core::fmt::Debug for hex_conservative::HexToArrayError -impl core::fmt::Debug for hex_conservative::HexToBytesError -impl core::fmt::Debug for hex_conservative::OddLengthStringError -impl core::fmt::Display for hex_conservative::HexToArrayError -impl core::fmt::Display for hex_conservative::HexToBytesError -impl core::fmt::Display for hex_conservative::OddLengthStringError +impl core::fmt::Debug for hex_conservative::error::ContainsPrefixError +impl core::fmt::Debug for hex_conservative::error::HexToArrayError +impl core::fmt::Debug for hex_conservative::error::InvalidCharError +impl core::fmt::Debug for hex_conservative::error::InvalidLengthError +impl core::fmt::Debug for hex_conservative::error::MissingPrefixError +impl core::fmt::Debug for hex_conservative::error::OddLengthStringError +impl core::fmt::Display for hex_conservative::error::ContainsPrefixError +impl core::fmt::Display for hex_conservative::error::HexToArrayError +impl core::fmt::Display for hex_conservative::error::InvalidCharError +impl core::fmt::Display for hex_conservative::error::InvalidLengthError +impl core::fmt::Display for hex_conservative::error::MissingPrefixError +impl core::fmt::Display for hex_conservative::error::OddLengthStringError impl core::hash::Hash for hex_conservative::Case impl core::marker::Copy for hex_conservative::Case impl core::marker::Send for hex_conservative::Case -impl core::marker::Send for hex_conservative::HexToArrayError -impl core::marker::Send for hex_conservative::HexToBytesError -impl core::marker::Send for hex_conservative::OddLengthStringError +impl core::marker::Send for hex_conservative::error::ContainsPrefixError +impl core::marker::Send for hex_conservative::error::HexToArrayError +impl core::marker::Send for hex_conservative::error::InvalidCharError +impl core::marker::Send for hex_conservative::error::InvalidLengthError +impl core::marker::Send for hex_conservative::error::MissingPrefixError +impl core::marker::Send for hex_conservative::error::OddLengthStringError impl core::marker::StructuralPartialEq for hex_conservative::Case -impl core::marker::StructuralPartialEq for hex_conservative::HexToArrayError -impl core::marker::StructuralPartialEq for hex_conservative::HexToBytesError -impl core::marker::StructuralPartialEq for hex_conservative::OddLengthStringError +impl core::marker::StructuralPartialEq for hex_conservative::error::ContainsPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::HexToArrayError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidCharError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidLengthError +impl core::marker::StructuralPartialEq for hex_conservative::error::MissingPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::OddLengthStringError impl core::marker::Sync for hex_conservative::Case -impl core::marker::Sync for hex_conservative::HexToArrayError -impl core::marker::Sync for hex_conservative::HexToBytesError -impl core::marker::Sync for hex_conservative::OddLengthStringError +impl core::marker::Sync for hex_conservative::error::ContainsPrefixError +impl core::marker::Sync for hex_conservative::error::HexToArrayError +impl core::marker::Sync for hex_conservative::error::InvalidCharError +impl core::marker::Sync for hex_conservative::error::InvalidLengthError +impl core::marker::Sync for hex_conservative::error::MissingPrefixError +impl core::marker::Sync for hex_conservative::error::OddLengthStringError impl core::marker::Unpin for hex_conservative::Case -impl core::marker::Unpin for hex_conservative::HexToArrayError -impl core::marker::Unpin for hex_conservative::HexToBytesError -impl core::marker::Unpin for hex_conservative::OddLengthStringError +impl core::marker::Unpin for hex_conservative::error::ContainsPrefixError +impl core::marker::Unpin for hex_conservative::error::HexToArrayError +impl core::marker::Unpin for hex_conservative::error::InvalidCharError +impl core::marker::Unpin for hex_conservative::error::InvalidLengthError +impl core::marker::Unpin for hex_conservative::error::MissingPrefixError +impl core::marker::Unpin for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::UnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::OddLengthStringError +impl hex_conservative::error::ContainsPrefixError +impl hex_conservative::error::InvalidCharError +impl hex_conservative::error::MissingPrefixError +impl hex_conservative::error::OddLengthStringError impl hex_conservative::parse::FromHex for alloc::vec::Vec impl<'a, const CAP: usize> core::marker::Send for hex_conservative::display::DisplayArray<'a, CAP> impl<'a, const CAP: usize> core::marker::Sync for hex_conservative::display::DisplayArray<'a, CAP> @@ -104,6 +143,44 @@ impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 8] impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 9] impl<'a> hex_conservative::display::DisplayHex for &'a [u8] impl<'a> hex_conservative::display::DisplayHex for &'a alloc::vec::Vec +impl core::clone::Clone for hex_conservative::error::FromHexError +impl core::clone::Clone for hex_conservative::error::FromNoPrefixHexError +impl core::clone::Clone for hex_conservative::error::FromPrefixedHexError +impl core::cmp::Eq for hex_conservative::error::FromHexError +impl core::cmp::Eq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::Eq for hex_conservative::error::FromPrefixedHexError +impl core::cmp::PartialEq for hex_conservative::error::FromHexError +impl core::cmp::PartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::PartialEq for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Debug for hex_conservative::error::FromHexError +impl core::fmt::Debug for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Debug for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Display for hex_conservative::error::FromHexError +impl core::fmt::Display for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Display for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::marker::Send for hex_conservative::error::FromHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromPrefixedHexError where E: core::marker::Send +impl core::marker::StructuralPartialEq for hex_conservative::error::FromHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromPrefixedHexError +impl core::marker::Sync for hex_conservative::error::FromHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromPrefixedHexError where E: core::marker::Sync +impl core::marker::Unpin for hex_conservative::error::FromHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromPrefixedHexError where E: core::marker::Unpin +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::UnwindSafe impl core::iter::traits::double_ended::DoubleEndedIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::double_ended::DoubleEndedIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::exact_size::ExactSizeIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::iterator::Iterator for hex_conservative::BytesToHexIter where I: core::iter::traits::iterator::Iterator @@ -123,10 +200,18 @@ impl core::panic::unwind_safe::UnwindSafe for hex_conservative impl hex_conservative::buf_encoder::BufEncoder impl hex_conservative::parse::FromHex for [u8; LEN] pub enum hex_conservative::Case +pub enum hex_conservative::FromHexError +pub enum hex_conservative::FromNoPrefixHexError +pub enum hex_conservative::FromPrefixedHexError pub enum hex_conservative::HexToArrayError -pub enum hex_conservative::HexToBytesError +pub enum hex_conservative::error::FromHexError +pub enum hex_conservative::error::FromNoPrefixHexError +pub enum hex_conservative::error::FromPrefixedHexError +pub enum hex_conservative::error::HexToArrayError +pub enum hex_conservative::parse::FromHexError +pub enum hex_conservative::parse::FromNoPrefixHexError +pub enum hex_conservative::parse::FromPrefixedHexError pub enum hex_conservative::parse::HexToArrayError -pub enum hex_conservative::parse::HexToBytesError pub fn &'a [u8; 1024]::as_hex(self) -> Self::Display pub fn &'a [u8; 10]::as_hex(self) -> Self::Display pub fn &'a [u8; 11]::as_hex(self) -> Self::Display @@ -158,8 +243,8 @@ pub fn &'a [u8]::as_hex(self) -> Self::Display pub fn &'a [u8]::hex_reserve_suggestion(self) -> usize pub fn &'a alloc::vec::Vec::as_hex(self) -> Self::Display pub fn &'a alloc::vec::Vec::hex_reserve_suggestion(self) -> usize -pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn alloc::vec::Vec::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn alloc::vec::Vec::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator pub fn hex_conservative::BytesToHexIter::len(&self) -> usize pub fn hex_conservative::BytesToHexIter::new(iter: I) -> hex_conservative::BytesToHexIter pub fn hex_conservative::BytesToHexIter::next(&mut self) -> core::option::Option @@ -176,24 +261,16 @@ pub fn hex_conservative::DisplayHex::hex_reserve_suggestion(self) -> usize pub fn hex_conservative::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result -pub fn hex_conservative::HexToArrayError::clone(&self) -> hex_conservative::HexToArrayError -pub fn hex_conservative::HexToArrayError::eq(&self, other: &hex_conservative::HexToArrayError) -> bool -pub fn hex_conservative::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToArrayError::from(e: hex_conservative::HexToBytesError) -> Self -pub fn hex_conservative::HexToBytesError::clone(&self) -> hex_conservative::HexToBytesError -pub fn hex_conservative::HexToBytesError::eq(&self, other: &hex_conservative::HexToBytesError) -> bool -pub fn hex_conservative::HexToBytesError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToBytesError::from(e: hex_conservative::OddLengthStringError) -> Self +pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::HexToBytesIter<'a>::len(&self) -> usize -pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::OddLengthStringError> -pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> -pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::error::OddLengthStringError> +pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> pub fn hex_conservative::HexToBytesIter<'a>::size_hint(&self) -> (usize, core::option::Option) -pub fn hex_conservative::OddLengthStringError::clone(&self) -> hex_conservative::OddLengthStringError -pub fn hex_conservative::OddLengthStringError::eq(&self, other: &hex_conservative::OddLengthStringError) -> bool -pub fn hex_conservative::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn hex_conservative::buf_encoder::BufEncoder::as_str(&self) -> &str pub fn hex_conservative::buf_encoder::BufEncoder::clear(&mut self) pub fn hex_conservative::buf_encoder::BufEncoder::default() -> Self @@ -211,26 +288,92 @@ pub fn hex_conservative::display::DisplayHex::hex_reserve_suggestion(self) -> us pub fn hex_conservative::display::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::display::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::display::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::error::ContainsPrefixError::clone(&self) -> hex_conservative::error::ContainsPrefixError +pub fn hex_conservative::error::ContainsPrefixError::eq(&self, other: &hex_conservative::error::ContainsPrefixError) -> bool +pub fn hex_conservative::error::ContainsPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::ContainsPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::FromHexError::clone(&self) -> hex_conservative::error::FromHexError +pub fn hex_conservative::error::FromHexError::eq(&self, other: &hex_conservative::error::FromHexError) -> bool +pub fn hex_conservative::error::FromHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::clone(&self) -> hex_conservative::error::FromNoPrefixHexError +pub fn hex_conservative::error::FromNoPrefixHexError::eq(&self, other: &hex_conservative::error::FromNoPrefixHexError) -> bool +pub fn hex_conservative::error::FromNoPrefixHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::ContainsPrefixError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::clone(&self) -> hex_conservative::error::FromPrefixedHexError +pub fn hex_conservative::error::FromPrefixedHexError::eq(&self, other: &hex_conservative::error::FromPrefixedHexError) -> bool +pub fn hex_conservative::error::FromPrefixedHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::MissingPrefixError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::HexToArrayError::clone(&self) -> hex_conservative::error::HexToArrayError +pub fn hex_conservative::error::HexToArrayError::eq(&self, other: &hex_conservative::error::HexToArrayError) -> bool +pub fn hex_conservative::error::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidCharError) -> Self +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidLengthError) -> Self +pub fn hex_conservative::error::InvalidCharError::clone(&self) -> hex_conservative::error::InvalidCharError +pub fn hex_conservative::error::InvalidCharError::eq(&self, other: &hex_conservative::error::InvalidCharError) -> bool +pub fn hex_conservative::error::InvalidCharError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::InvalidCharError::invalid_char(&self) -> u8 +pub fn hex_conservative::error::InvalidLengthError::clone(&self) -> hex_conservative::error::InvalidLengthError +pub fn hex_conservative::error::InvalidLengthError::eq(&self, other: &hex_conservative::error::InvalidLengthError) -> bool +pub fn hex_conservative::error::InvalidLengthError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::MissingPrefixError::clone(&self) -> hex_conservative::error::MissingPrefixError +pub fn hex_conservative::error::MissingPrefixError::eq(&self, other: &hex_conservative::error::MissingPrefixError) -> bool +pub fn hex_conservative::error::MissingPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::MissingPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::OddLengthStringError::clone(&self) -> hex_conservative::error::OddLengthStringError +pub fn hex_conservative::error::OddLengthStringError::eq(&self, other: &hex_conservative::error::OddLengthStringError) -> bool +pub fn hex_conservative::error::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::OddLengthStringError::input_string_length(&self) -> usize +pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::prelude::DisplayHex::append_hex_to_string(self, case: hex_conservative::Case, string: &mut alloc::string::String) pub fn hex_conservative::prelude::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::prelude::DisplayHex::hex_reserve_suggestion(self) -> usize pub fn hex_conservative::prelude::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::prelude::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::prelude::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub hex_conservative::Case::Lower pub hex_conservative::Case::Upper -pub hex_conservative::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) -pub hex_conservative::parse::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::parse::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::parse::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::parse::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) +pub hex_conservative::FromHexError::Invalid(E) +pub hex_conservative::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::FromPrefixedHexError::Invalid(E) +pub hex_conservative::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::error::FromHexError::Invalid(E) +pub hex_conservative::error::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::error::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::error::FromPrefixedHexError::Invalid(E) +pub hex_conservative::error::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::error::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::error::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::parse::FromHexError::Invalid(E) +pub hex_conservative::parse::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::parse::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::parse::FromPrefixedHexError::Invalid(E) +pub hex_conservative::parse::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::parse::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::parse::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) pub macro hex_conservative::display::fmt_hex_exact! pub macro hex_conservative::fmt_hex_exact! pub macro hex_conservative::test_hex_unwrap! @@ -238,14 +381,20 @@ pub macro hex_conservative::write_err! pub mod hex_conservative pub mod hex_conservative::buf_encoder pub mod hex_conservative::display +pub mod hex_conservative::error pub mod hex_conservative::parse pub mod hex_conservative::prelude pub struct hex_conservative::BytesToHexIter> pub struct hex_conservative::HexToBytesIter<'a> +pub struct hex_conservative::InvalidCharError pub struct hex_conservative::OddLengthStringError pub struct hex_conservative::buf_encoder::BufEncoder pub struct hex_conservative::display::DisplayArray<'a, const CAP: usize> pub struct hex_conservative::display::DisplayByteSlice<'a> +pub struct hex_conservative::error::InvalidCharError +pub struct hex_conservative::error::InvalidLengthError +pub struct hex_conservative::error::OddLengthStringError +pub struct hex_conservative::parse::InvalidCharError pub trait hex_conservative::DisplayHex: core::marker::Copy + sealed::IsRef pub trait hex_conservative::FromHex: core::marker::Sized pub trait hex_conservative::display::DisplayHex: core::marker::Copy + sealed::IsRef @@ -281,13 +430,13 @@ pub type &'a [u8; 8]::Display = hex_conservative::display::DisplayArray<'a, {$le pub type &'a [u8; 9]::Display = hex_conservative::display::DisplayArray<'a, {$len * 2}> pub type &'a [u8]::Display = hex_conservative::display::DisplayByteSlice<'a> pub type &'a alloc::vec::Vec::Display = hex_conservative::display::DisplayByteSlice<'a> -pub type [u8; LEN]::Error = hex_conservative::HexToArrayError -pub type alloc::vec::Vec::Error = hex_conservative::HexToBytesError +pub type [u8; LEN]::Error = hex_conservative::error::HexToArrayError +pub type alloc::vec::Vec::Error = hex_conservative::error::InvalidCharError pub type hex_conservative::BytesToHexIter::Item = char pub type hex_conservative::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display -pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result +pub type hex_conservative::FromHex::Error: core::fmt::Debug + core::fmt::Display +pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result pub type hex_conservative::display::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::parse::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::parse::FromHex::Error: core::fmt::Debug + core::fmt::Display pub type hex_conservative::prelude::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::prelude::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::prelude::FromHex::Error: core::fmt::Debug + core::fmt::Display diff --git a/api/core2.txt b/api/core2.txt index 143d8b8..91fad47 100644 --- a/api/core2.txt +++ b/api/core2.txt @@ -1,51 +1,90 @@ +#[non_exhaustive] pub struct hex_conservative::error::ContainsPrefixError +#[non_exhaustive] pub struct hex_conservative::error::MissingPrefixError impl core::clone::Clone for hex_conservative::Case -impl core::clone::Clone for hex_conservative::HexToArrayError -impl core::clone::Clone for hex_conservative::HexToBytesError -impl core::clone::Clone for hex_conservative::OddLengthStringError +impl core::clone::Clone for hex_conservative::error::ContainsPrefixError +impl core::clone::Clone for hex_conservative::error::HexToArrayError +impl core::clone::Clone for hex_conservative::error::InvalidCharError +impl core::clone::Clone for hex_conservative::error::InvalidLengthError +impl core::clone::Clone for hex_conservative::error::MissingPrefixError +impl core::clone::Clone for hex_conservative::error::OddLengthStringError impl core::cmp::Eq for hex_conservative::Case -impl core::cmp::Eq for hex_conservative::HexToArrayError -impl core::cmp::Eq for hex_conservative::HexToBytesError -impl core::cmp::Eq for hex_conservative::OddLengthStringError +impl core::cmp::Eq for hex_conservative::error::ContainsPrefixError +impl core::cmp::Eq for hex_conservative::error::HexToArrayError +impl core::cmp::Eq for hex_conservative::error::InvalidCharError +impl core::cmp::Eq for hex_conservative::error::InvalidLengthError +impl core::cmp::Eq for hex_conservative::error::MissingPrefixError +impl core::cmp::Eq for hex_conservative::error::OddLengthStringError impl core::cmp::PartialEq for hex_conservative::Case -impl core::cmp::PartialEq for hex_conservative::HexToArrayError -impl core::cmp::PartialEq for hex_conservative::HexToBytesError -impl core::cmp::PartialEq for hex_conservative::OddLengthStringError -impl core::convert::From for hex_conservative::HexToArrayError -impl core::convert::From for hex_conservative::HexToBytesError +impl core::cmp::PartialEq for hex_conservative::error::ContainsPrefixError +impl core::cmp::PartialEq for hex_conservative::error::HexToArrayError +impl core::cmp::PartialEq for hex_conservative::error::InvalidCharError +impl core::cmp::PartialEq for hex_conservative::error::InvalidLengthError +impl core::cmp::PartialEq for hex_conservative::error::MissingPrefixError +impl core::cmp::PartialEq for hex_conservative::error::OddLengthStringError +impl core::convert::From for hex_conservative::error::HexToArrayError +impl core::convert::From for hex_conservative::error::HexToArrayError impl core::default::Default for hex_conservative::Case impl core::fmt::Debug for hex_conservative::Case -impl core::fmt::Debug for hex_conservative::HexToArrayError -impl core::fmt::Debug for hex_conservative::HexToBytesError -impl core::fmt::Debug for hex_conservative::OddLengthStringError -impl core::fmt::Display for hex_conservative::HexToArrayError -impl core::fmt::Display for hex_conservative::HexToBytesError -impl core::fmt::Display for hex_conservative::OddLengthStringError +impl core::fmt::Debug for hex_conservative::error::ContainsPrefixError +impl core::fmt::Debug for hex_conservative::error::HexToArrayError +impl core::fmt::Debug for hex_conservative::error::InvalidCharError +impl core::fmt::Debug for hex_conservative::error::InvalidLengthError +impl core::fmt::Debug for hex_conservative::error::MissingPrefixError +impl core::fmt::Debug for hex_conservative::error::OddLengthStringError +impl core::fmt::Display for hex_conservative::error::ContainsPrefixError +impl core::fmt::Display for hex_conservative::error::HexToArrayError +impl core::fmt::Display for hex_conservative::error::InvalidCharError +impl core::fmt::Display for hex_conservative::error::InvalidLengthError +impl core::fmt::Display for hex_conservative::error::MissingPrefixError +impl core::fmt::Display for hex_conservative::error::OddLengthStringError impl core::hash::Hash for hex_conservative::Case impl core::marker::Copy for hex_conservative::Case impl core::marker::Send for hex_conservative::Case -impl core::marker::Send for hex_conservative::HexToArrayError -impl core::marker::Send for hex_conservative::HexToBytesError -impl core::marker::Send for hex_conservative::OddLengthStringError +impl core::marker::Send for hex_conservative::error::ContainsPrefixError +impl core::marker::Send for hex_conservative::error::HexToArrayError +impl core::marker::Send for hex_conservative::error::InvalidCharError +impl core::marker::Send for hex_conservative::error::InvalidLengthError +impl core::marker::Send for hex_conservative::error::MissingPrefixError +impl core::marker::Send for hex_conservative::error::OddLengthStringError impl core::marker::StructuralPartialEq for hex_conservative::Case -impl core::marker::StructuralPartialEq for hex_conservative::HexToArrayError -impl core::marker::StructuralPartialEq for hex_conservative::HexToBytesError -impl core::marker::StructuralPartialEq for hex_conservative::OddLengthStringError +impl core::marker::StructuralPartialEq for hex_conservative::error::ContainsPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::HexToArrayError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidCharError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidLengthError +impl core::marker::StructuralPartialEq for hex_conservative::error::MissingPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::OddLengthStringError impl core::marker::Sync for hex_conservative::Case -impl core::marker::Sync for hex_conservative::HexToArrayError -impl core::marker::Sync for hex_conservative::HexToBytesError -impl core::marker::Sync for hex_conservative::OddLengthStringError +impl core::marker::Sync for hex_conservative::error::ContainsPrefixError +impl core::marker::Sync for hex_conservative::error::HexToArrayError +impl core::marker::Sync for hex_conservative::error::InvalidCharError +impl core::marker::Sync for hex_conservative::error::InvalidLengthError +impl core::marker::Sync for hex_conservative::error::MissingPrefixError +impl core::marker::Sync for hex_conservative::error::OddLengthStringError impl core::marker::Unpin for hex_conservative::Case -impl core::marker::Unpin for hex_conservative::HexToArrayError -impl core::marker::Unpin for hex_conservative::HexToBytesError -impl core::marker::Unpin for hex_conservative::OddLengthStringError +impl core::marker::Unpin for hex_conservative::error::ContainsPrefixError +impl core::marker::Unpin for hex_conservative::error::HexToArrayError +impl core::marker::Unpin for hex_conservative::error::InvalidCharError +impl core::marker::Unpin for hex_conservative::error::InvalidLengthError +impl core::marker::Unpin for hex_conservative::error::MissingPrefixError +impl core::marker::Unpin for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::UnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::OddLengthStringError +impl hex_conservative::error::ContainsPrefixError +impl hex_conservative::error::InvalidCharError +impl hex_conservative::error::MissingPrefixError +impl hex_conservative::error::OddLengthStringError impl<'a, const CAP: usize> core::marker::Send for hex_conservative::display::DisplayArray<'a, CAP> impl<'a, const CAP: usize> core::marker::Sync for hex_conservative::display::DisplayArray<'a, CAP> impl<'a, const CAP: usize> core::marker::Unpin for hex_conservative::display::DisplayArray<'a, CAP> @@ -103,6 +142,44 @@ impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 7] impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 8] impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 9] impl<'a> hex_conservative::display::DisplayHex for &'a [u8] +impl core::clone::Clone for hex_conservative::error::FromHexError +impl core::clone::Clone for hex_conservative::error::FromNoPrefixHexError +impl core::clone::Clone for hex_conservative::error::FromPrefixedHexError +impl core::cmp::Eq for hex_conservative::error::FromHexError +impl core::cmp::Eq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::Eq for hex_conservative::error::FromPrefixedHexError +impl core::cmp::PartialEq for hex_conservative::error::FromHexError +impl core::cmp::PartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::PartialEq for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Debug for hex_conservative::error::FromHexError +impl core::fmt::Debug for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Debug for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Display for hex_conservative::error::FromHexError +impl core::fmt::Display for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Display for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::marker::Send for hex_conservative::error::FromHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromPrefixedHexError where E: core::marker::Send +impl core::marker::StructuralPartialEq for hex_conservative::error::FromHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromPrefixedHexError +impl core::marker::Sync for hex_conservative::error::FromHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromPrefixedHexError where E: core::marker::Sync +impl core::marker::Unpin for hex_conservative::error::FromHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromPrefixedHexError where E: core::marker::Unpin +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::UnwindSafe impl core::iter::traits::double_ended::DoubleEndedIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::double_ended::DoubleEndedIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::exact_size::ExactSizeIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::iterator::Iterator for hex_conservative::BytesToHexIter where I: core::iter::traits::iterator::Iterator @@ -122,10 +199,18 @@ impl core::panic::unwind_safe::UnwindSafe for hex_conservative impl hex_conservative::buf_encoder::BufEncoder impl hex_conservative::parse::FromHex for [u8; LEN] pub enum hex_conservative::Case +pub enum hex_conservative::FromHexError +pub enum hex_conservative::FromNoPrefixHexError +pub enum hex_conservative::FromPrefixedHexError pub enum hex_conservative::HexToArrayError -pub enum hex_conservative::HexToBytesError +pub enum hex_conservative::error::FromHexError +pub enum hex_conservative::error::FromNoPrefixHexError +pub enum hex_conservative::error::FromPrefixedHexError +pub enum hex_conservative::error::HexToArrayError +pub enum hex_conservative::parse::FromHexError +pub enum hex_conservative::parse::FromNoPrefixHexError +pub enum hex_conservative::parse::FromPrefixedHexError pub enum hex_conservative::parse::HexToArrayError -pub enum hex_conservative::parse::HexToBytesError pub fn &'a [u8; 1024]::as_hex(self) -> Self::Display pub fn &'a [u8; 10]::as_hex(self) -> Self::Display pub fn &'a [u8; 11]::as_hex(self) -> Self::Display @@ -155,7 +240,7 @@ pub fn &'a [u8; 8]::as_hex(self) -> Self::Display pub fn &'a [u8; 9]::as_hex(self) -> Self::Display pub fn &'a [u8]::as_hex(self) -> Self::Display pub fn &'a [u8]::hex_reserve_suggestion(self) -> usize -pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator pub fn hex_conservative::BytesToHexIter::len(&self) -> usize pub fn hex_conservative::BytesToHexIter::new(iter: I) -> hex_conservative::BytesToHexIter pub fn hex_conservative::BytesToHexIter::next(&mut self) -> core::option::Option @@ -168,25 +253,17 @@ pub fn hex_conservative::Case::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> c pub fn hex_conservative::Case::hash<__H: core::hash::Hasher>(&self, state: &mut __H) pub fn hex_conservative::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::DisplayHex::hex_reserve_suggestion(self) -> usize -pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result -pub fn hex_conservative::HexToArrayError::clone(&self) -> hex_conservative::HexToArrayError -pub fn hex_conservative::HexToArrayError::eq(&self, other: &hex_conservative::HexToArrayError) -> bool -pub fn hex_conservative::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToArrayError::from(e: hex_conservative::HexToBytesError) -> Self -pub fn hex_conservative::HexToBytesError::clone(&self) -> hex_conservative::HexToBytesError -pub fn hex_conservative::HexToBytesError::eq(&self, other: &hex_conservative::HexToBytesError) -> bool -pub fn hex_conservative::HexToBytesError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToBytesError::from(e: hex_conservative::OddLengthStringError) -> Self +pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::HexToBytesIter<'a>::len(&self) -> usize -pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::OddLengthStringError> -pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> -pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::error::OddLengthStringError> +pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> pub fn hex_conservative::HexToBytesIter<'a>::read(&mut self, buf: &mut [u8]) -> core2::io::error::Result pub fn hex_conservative::HexToBytesIter<'a>::size_hint(&self) -> (usize, core::option::Option) -pub fn hex_conservative::OddLengthStringError::clone(&self) -> hex_conservative::OddLengthStringError -pub fn hex_conservative::OddLengthStringError::eq(&self, other: &hex_conservative::OddLengthStringError) -> bool -pub fn hex_conservative::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn hex_conservative::buf_encoder::BufEncoder::as_str(&self) -> &str pub fn hex_conservative::buf_encoder::BufEncoder::clear(&mut self) pub fn hex_conservative::buf_encoder::BufEncoder::default() -> Self @@ -200,22 +277,88 @@ pub fn hex_conservative::display::DisplayArray<'a, LEN>::fmt(&self, f: &mut core pub fn hex_conservative::display::DisplayByteSlice<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn hex_conservative::display::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::display::DisplayHex::hex_reserve_suggestion(self) -> usize -pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::error::ContainsPrefixError::clone(&self) -> hex_conservative::error::ContainsPrefixError +pub fn hex_conservative::error::ContainsPrefixError::eq(&self, other: &hex_conservative::error::ContainsPrefixError) -> bool +pub fn hex_conservative::error::ContainsPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::ContainsPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::FromHexError::clone(&self) -> hex_conservative::error::FromHexError +pub fn hex_conservative::error::FromHexError::eq(&self, other: &hex_conservative::error::FromHexError) -> bool +pub fn hex_conservative::error::FromHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::clone(&self) -> hex_conservative::error::FromNoPrefixHexError +pub fn hex_conservative::error::FromNoPrefixHexError::eq(&self, other: &hex_conservative::error::FromNoPrefixHexError) -> bool +pub fn hex_conservative::error::FromNoPrefixHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::ContainsPrefixError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::clone(&self) -> hex_conservative::error::FromPrefixedHexError +pub fn hex_conservative::error::FromPrefixedHexError::eq(&self, other: &hex_conservative::error::FromPrefixedHexError) -> bool +pub fn hex_conservative::error::FromPrefixedHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::MissingPrefixError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::HexToArrayError::clone(&self) -> hex_conservative::error::HexToArrayError +pub fn hex_conservative::error::HexToArrayError::eq(&self, other: &hex_conservative::error::HexToArrayError) -> bool +pub fn hex_conservative::error::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidCharError) -> Self +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidLengthError) -> Self +pub fn hex_conservative::error::InvalidCharError::clone(&self) -> hex_conservative::error::InvalidCharError +pub fn hex_conservative::error::InvalidCharError::eq(&self, other: &hex_conservative::error::InvalidCharError) -> bool +pub fn hex_conservative::error::InvalidCharError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::InvalidCharError::invalid_char(&self) -> u8 +pub fn hex_conservative::error::InvalidLengthError::clone(&self) -> hex_conservative::error::InvalidLengthError +pub fn hex_conservative::error::InvalidLengthError::eq(&self, other: &hex_conservative::error::InvalidLengthError) -> bool +pub fn hex_conservative::error::InvalidLengthError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::MissingPrefixError::clone(&self) -> hex_conservative::error::MissingPrefixError +pub fn hex_conservative::error::MissingPrefixError::eq(&self, other: &hex_conservative::error::MissingPrefixError) -> bool +pub fn hex_conservative::error::MissingPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::MissingPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::OddLengthStringError::clone(&self) -> hex_conservative::error::OddLengthStringError +pub fn hex_conservative::error::OddLengthStringError::eq(&self, other: &hex_conservative::error::OddLengthStringError) -> bool +pub fn hex_conservative::error::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::OddLengthStringError::input_string_length(&self) -> usize +pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::prelude::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::prelude::DisplayHex::hex_reserve_suggestion(self) -> usize -pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub hex_conservative::Case::Lower pub hex_conservative::Case::Upper -pub hex_conservative::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) -pub hex_conservative::parse::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::parse::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::parse::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::parse::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) +pub hex_conservative::FromHexError::Invalid(E) +pub hex_conservative::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::FromPrefixedHexError::Invalid(E) +pub hex_conservative::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::error::FromHexError::Invalid(E) +pub hex_conservative::error::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::error::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::error::FromPrefixedHexError::Invalid(E) +pub hex_conservative::error::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::error::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::error::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::parse::FromHexError::Invalid(E) +pub hex_conservative::parse::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::parse::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::parse::FromPrefixedHexError::Invalid(E) +pub hex_conservative::parse::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::parse::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::parse::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) pub macro hex_conservative::display::fmt_hex_exact! pub macro hex_conservative::fmt_hex_exact! pub macro hex_conservative::test_hex_unwrap! @@ -223,14 +366,20 @@ pub macro hex_conservative::write_err! pub mod hex_conservative pub mod hex_conservative::buf_encoder pub mod hex_conservative::display +pub mod hex_conservative::error pub mod hex_conservative::parse pub mod hex_conservative::prelude pub struct hex_conservative::BytesToHexIter> pub struct hex_conservative::HexToBytesIter<'a> +pub struct hex_conservative::InvalidCharError pub struct hex_conservative::OddLengthStringError pub struct hex_conservative::buf_encoder::BufEncoder pub struct hex_conservative::display::DisplayArray<'a, const CAP: usize> pub struct hex_conservative::display::DisplayByteSlice<'a> +pub struct hex_conservative::error::InvalidCharError +pub struct hex_conservative::error::InvalidLengthError +pub struct hex_conservative::error::OddLengthStringError +pub struct hex_conservative::parse::InvalidCharError pub trait hex_conservative::DisplayHex: core::marker::Copy + sealed::IsRef pub trait hex_conservative::FromHex: core::marker::Sized pub trait hex_conservative::display::DisplayHex: core::marker::Copy + sealed::IsRef @@ -265,12 +414,12 @@ pub type &'a [u8; 7]::Display = hex_conservative::display::DisplayArray<'a, {$le pub type &'a [u8; 8]::Display = hex_conservative::display::DisplayArray<'a, {$len * 2}> pub type &'a [u8; 9]::Display = hex_conservative::display::DisplayArray<'a, {$len * 2}> pub type &'a [u8]::Display = hex_conservative::display::DisplayByteSlice<'a> -pub type [u8; LEN]::Error = hex_conservative::HexToArrayError +pub type [u8; LEN]::Error = hex_conservative::error::HexToArrayError pub type hex_conservative::BytesToHexIter::Item = char pub type hex_conservative::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display -pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result +pub type hex_conservative::FromHex::Error: core::fmt::Debug + core::fmt::Display +pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result pub type hex_conservative::display::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::parse::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::parse::FromHex::Error: core::fmt::Debug + core::fmt::Display pub type hex_conservative::prelude::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::prelude::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::prelude::FromHex::Error: core::fmt::Debug + core::fmt::Display diff --git a/api/default-features.txt b/api/default-features.txt index 94ab057..e82e57e 100644 --- a/api/default-features.txt +++ b/api/default-features.txt @@ -1,54 +1,96 @@ +#[non_exhaustive] pub struct hex_conservative::error::ContainsPrefixError +#[non_exhaustive] pub struct hex_conservative::error::MissingPrefixError impl core::clone::Clone for hex_conservative::Case -impl core::clone::Clone for hex_conservative::HexToArrayError -impl core::clone::Clone for hex_conservative::HexToBytesError -impl core::clone::Clone for hex_conservative::OddLengthStringError +impl core::clone::Clone for hex_conservative::error::ContainsPrefixError +impl core::clone::Clone for hex_conservative::error::HexToArrayError +impl core::clone::Clone for hex_conservative::error::InvalidCharError +impl core::clone::Clone for hex_conservative::error::InvalidLengthError +impl core::clone::Clone for hex_conservative::error::MissingPrefixError +impl core::clone::Clone for hex_conservative::error::OddLengthStringError impl core::cmp::Eq for hex_conservative::Case -impl core::cmp::Eq for hex_conservative::HexToArrayError -impl core::cmp::Eq for hex_conservative::HexToBytesError -impl core::cmp::Eq for hex_conservative::OddLengthStringError +impl core::cmp::Eq for hex_conservative::error::ContainsPrefixError +impl core::cmp::Eq for hex_conservative::error::HexToArrayError +impl core::cmp::Eq for hex_conservative::error::InvalidCharError +impl core::cmp::Eq for hex_conservative::error::InvalidLengthError +impl core::cmp::Eq for hex_conservative::error::MissingPrefixError +impl core::cmp::Eq for hex_conservative::error::OddLengthStringError impl core::cmp::PartialEq for hex_conservative::Case -impl core::cmp::PartialEq for hex_conservative::HexToArrayError -impl core::cmp::PartialEq for hex_conservative::HexToBytesError -impl core::cmp::PartialEq for hex_conservative::OddLengthStringError -impl core::convert::From for hex_conservative::HexToArrayError -impl core::convert::From for hex_conservative::HexToBytesError +impl core::cmp::PartialEq for hex_conservative::error::ContainsPrefixError +impl core::cmp::PartialEq for hex_conservative::error::HexToArrayError +impl core::cmp::PartialEq for hex_conservative::error::InvalidCharError +impl core::cmp::PartialEq for hex_conservative::error::InvalidLengthError +impl core::cmp::PartialEq for hex_conservative::error::MissingPrefixError +impl core::cmp::PartialEq for hex_conservative::error::OddLengthStringError +impl core::convert::From for hex_conservative::error::HexToArrayError +impl core::convert::From for hex_conservative::error::HexToArrayError impl core::default::Default for hex_conservative::Case -impl core::error::Error for hex_conservative::HexToArrayError -impl core::error::Error for hex_conservative::HexToBytesError -impl core::error::Error for hex_conservative::OddLengthStringError +impl core::error::Error for hex_conservative::error::ContainsPrefixError +impl core::error::Error for hex_conservative::error::HexToArrayError +impl core::error::Error for hex_conservative::error::InvalidCharError +impl core::error::Error for hex_conservative::error::InvalidLengthError +impl core::error::Error for hex_conservative::error::MissingPrefixError +impl core::error::Error for hex_conservative::error::OddLengthStringError impl core::fmt::Debug for hex_conservative::Case -impl core::fmt::Debug for hex_conservative::HexToArrayError -impl core::fmt::Debug for hex_conservative::HexToBytesError -impl core::fmt::Debug for hex_conservative::OddLengthStringError -impl core::fmt::Display for hex_conservative::HexToArrayError -impl core::fmt::Display for hex_conservative::HexToBytesError -impl core::fmt::Display for hex_conservative::OddLengthStringError +impl core::fmt::Debug for hex_conservative::error::ContainsPrefixError +impl core::fmt::Debug for hex_conservative::error::HexToArrayError +impl core::fmt::Debug for hex_conservative::error::InvalidCharError +impl core::fmt::Debug for hex_conservative::error::InvalidLengthError +impl core::fmt::Debug for hex_conservative::error::MissingPrefixError +impl core::fmt::Debug for hex_conservative::error::OddLengthStringError +impl core::fmt::Display for hex_conservative::error::ContainsPrefixError +impl core::fmt::Display for hex_conservative::error::HexToArrayError +impl core::fmt::Display for hex_conservative::error::InvalidCharError +impl core::fmt::Display for hex_conservative::error::InvalidLengthError +impl core::fmt::Display for hex_conservative::error::MissingPrefixError +impl core::fmt::Display for hex_conservative::error::OddLengthStringError impl core::hash::Hash for hex_conservative::Case impl core::marker::Copy for hex_conservative::Case impl core::marker::Send for hex_conservative::Case -impl core::marker::Send for hex_conservative::HexToArrayError -impl core::marker::Send for hex_conservative::HexToBytesError -impl core::marker::Send for hex_conservative::OddLengthStringError +impl core::marker::Send for hex_conservative::error::ContainsPrefixError +impl core::marker::Send for hex_conservative::error::HexToArrayError +impl core::marker::Send for hex_conservative::error::InvalidCharError +impl core::marker::Send for hex_conservative::error::InvalidLengthError +impl core::marker::Send for hex_conservative::error::MissingPrefixError +impl core::marker::Send for hex_conservative::error::OddLengthStringError impl core::marker::StructuralPartialEq for hex_conservative::Case -impl core::marker::StructuralPartialEq for hex_conservative::HexToArrayError -impl core::marker::StructuralPartialEq for hex_conservative::HexToBytesError -impl core::marker::StructuralPartialEq for hex_conservative::OddLengthStringError +impl core::marker::StructuralPartialEq for hex_conservative::error::ContainsPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::HexToArrayError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidCharError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidLengthError +impl core::marker::StructuralPartialEq for hex_conservative::error::MissingPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::OddLengthStringError impl core::marker::Sync for hex_conservative::Case -impl core::marker::Sync for hex_conservative::HexToArrayError -impl core::marker::Sync for hex_conservative::HexToBytesError -impl core::marker::Sync for hex_conservative::OddLengthStringError +impl core::marker::Sync for hex_conservative::error::ContainsPrefixError +impl core::marker::Sync for hex_conservative::error::HexToArrayError +impl core::marker::Sync for hex_conservative::error::InvalidCharError +impl core::marker::Sync for hex_conservative::error::InvalidLengthError +impl core::marker::Sync for hex_conservative::error::MissingPrefixError +impl core::marker::Sync for hex_conservative::error::OddLengthStringError impl core::marker::Unpin for hex_conservative::Case -impl core::marker::Unpin for hex_conservative::HexToArrayError -impl core::marker::Unpin for hex_conservative::HexToBytesError -impl core::marker::Unpin for hex_conservative::OddLengthStringError +impl core::marker::Unpin for hex_conservative::error::ContainsPrefixError +impl core::marker::Unpin for hex_conservative::error::HexToArrayError +impl core::marker::Unpin for hex_conservative::error::InvalidCharError +impl core::marker::Unpin for hex_conservative::error::InvalidLengthError +impl core::marker::Unpin for hex_conservative::error::MissingPrefixError +impl core::marker::Unpin for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::UnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::OddLengthStringError +impl hex_conservative::error::ContainsPrefixError +impl hex_conservative::error::InvalidCharError +impl hex_conservative::error::MissingPrefixError +impl hex_conservative::error::OddLengthStringError impl hex_conservative::parse::FromHex for alloc::vec::Vec impl<'a, const CAP: usize> core::marker::Send for hex_conservative::display::DisplayArray<'a, CAP> impl<'a, const CAP: usize> core::marker::Sync for hex_conservative::display::DisplayArray<'a, CAP> @@ -108,6 +150,47 @@ impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 9] impl<'a> hex_conservative::display::DisplayHex for &'a [u8] impl<'a> hex_conservative::display::DisplayHex for &'a alloc::vec::Vec impl<'a> std::io::Read for hex_conservative::HexToBytesIter<'a> +impl core::clone::Clone for hex_conservative::error::FromHexError +impl core::clone::Clone for hex_conservative::error::FromNoPrefixHexError +impl core::clone::Clone for hex_conservative::error::FromPrefixedHexError +impl core::cmp::Eq for hex_conservative::error::FromHexError +impl core::cmp::Eq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::Eq for hex_conservative::error::FromPrefixedHexError +impl core::cmp::PartialEq for hex_conservative::error::FromHexError +impl core::cmp::PartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::PartialEq for hex_conservative::error::FromPrefixedHexError +impl core::error::Error for hex_conservative::error::FromHexError +impl core::error::Error for hex_conservative::error::FromNoPrefixHexError +impl core::error::Error for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Debug for hex_conservative::error::FromHexError +impl core::fmt::Debug for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Debug for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Display for hex_conservative::error::FromHexError +impl core::fmt::Display for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Display for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::marker::Send for hex_conservative::error::FromHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromPrefixedHexError where E: core::marker::Send +impl core::marker::StructuralPartialEq for hex_conservative::error::FromHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromPrefixedHexError +impl core::marker::Sync for hex_conservative::error::FromHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromPrefixedHexError where E: core::marker::Sync +impl core::marker::Unpin for hex_conservative::error::FromHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromPrefixedHexError where E: core::marker::Unpin +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::UnwindSafe impl core::iter::traits::double_ended::DoubleEndedIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::double_ended::DoubleEndedIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::exact_size::ExactSizeIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::iterator::Iterator for hex_conservative::BytesToHexIter where I: core::iter::traits::iterator::Iterator @@ -127,10 +210,18 @@ impl core::panic::unwind_safe::UnwindSafe for hex_conservative impl hex_conservative::buf_encoder::BufEncoder impl hex_conservative::parse::FromHex for [u8; LEN] pub enum hex_conservative::Case +pub enum hex_conservative::FromHexError +pub enum hex_conservative::FromNoPrefixHexError +pub enum hex_conservative::FromPrefixedHexError pub enum hex_conservative::HexToArrayError -pub enum hex_conservative::HexToBytesError +pub enum hex_conservative::error::FromHexError +pub enum hex_conservative::error::FromNoPrefixHexError +pub enum hex_conservative::error::FromPrefixedHexError +pub enum hex_conservative::error::HexToArrayError +pub enum hex_conservative::parse::FromHexError +pub enum hex_conservative::parse::FromNoPrefixHexError +pub enum hex_conservative::parse::FromPrefixedHexError pub enum hex_conservative::parse::HexToArrayError -pub enum hex_conservative::parse::HexToBytesError pub fn &'a [u8; 1024]::as_hex(self) -> Self::Display pub fn &'a [u8; 10]::as_hex(self) -> Self::Display pub fn &'a [u8; 11]::as_hex(self) -> Self::Display @@ -162,8 +253,8 @@ pub fn &'a [u8]::as_hex(self) -> Self::Display pub fn &'a [u8]::hex_reserve_suggestion(self) -> usize pub fn &'a alloc::vec::Vec::as_hex(self) -> Self::Display pub fn &'a alloc::vec::Vec::hex_reserve_suggestion(self) -> usize -pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn alloc::vec::Vec::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn alloc::vec::Vec::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator pub fn hex_conservative::BytesToHexIter::len(&self) -> usize pub fn hex_conservative::BytesToHexIter::new(iter: I) -> hex_conservative::BytesToHexIter pub fn hex_conservative::BytesToHexIter::next(&mut self) -> core::option::Option @@ -180,28 +271,17 @@ pub fn hex_conservative::DisplayHex::hex_reserve_suggestion(self) -> usize pub fn hex_conservative::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result -pub fn hex_conservative::HexToArrayError::clone(&self) -> hex_conservative::HexToArrayError -pub fn hex_conservative::HexToArrayError::eq(&self, other: &hex_conservative::HexToArrayError) -> bool -pub fn hex_conservative::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToArrayError::from(e: hex_conservative::HexToBytesError) -> Self -pub fn hex_conservative::HexToArrayError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> -pub fn hex_conservative::HexToBytesError::clone(&self) -> hex_conservative::HexToBytesError -pub fn hex_conservative::HexToBytesError::eq(&self, other: &hex_conservative::HexToBytesError) -> bool -pub fn hex_conservative::HexToBytesError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToBytesError::from(e: hex_conservative::OddLengthStringError) -> Self -pub fn hex_conservative::HexToBytesError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::HexToBytesIter<'a>::len(&self) -> usize -pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::OddLengthStringError> -pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> -pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::error::OddLengthStringError> +pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> pub fn hex_conservative::HexToBytesIter<'a>::read(&mut self, buf: &mut [u8]) -> std::io::error::Result pub fn hex_conservative::HexToBytesIter<'a>::size_hint(&self) -> (usize, core::option::Option) -pub fn hex_conservative::OddLengthStringError::clone(&self) -> hex_conservative::OddLengthStringError -pub fn hex_conservative::OddLengthStringError::eq(&self, other: &hex_conservative::OddLengthStringError) -> bool -pub fn hex_conservative::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::OddLengthStringError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> pub fn hex_conservative::buf_encoder::BufEncoder::as_str(&self) -> &str pub fn hex_conservative::buf_encoder::BufEncoder::clear(&mut self) pub fn hex_conservative::buf_encoder::BufEncoder::default() -> Self @@ -219,26 +299,99 @@ pub fn hex_conservative::display::DisplayHex::hex_reserve_suggestion(self) -> us pub fn hex_conservative::display::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::display::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::display::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::error::ContainsPrefixError::clone(&self) -> hex_conservative::error::ContainsPrefixError +pub fn hex_conservative::error::ContainsPrefixError::eq(&self, other: &hex_conservative::error::ContainsPrefixError) -> bool +pub fn hex_conservative::error::ContainsPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::ContainsPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::FromHexError::clone(&self) -> hex_conservative::error::FromHexError +pub fn hex_conservative::error::FromHexError::eq(&self, other: &hex_conservative::error::FromHexError) -> bool +pub fn hex_conservative::error::FromHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromHexError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::FromNoPrefixHexError::clone(&self) -> hex_conservative::error::FromNoPrefixHexError +pub fn hex_conservative::error::FromNoPrefixHexError::eq(&self, other: &hex_conservative::error::FromNoPrefixHexError) -> bool +pub fn hex_conservative::error::FromNoPrefixHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::ContainsPrefixError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::FromPrefixedHexError::clone(&self) -> hex_conservative::error::FromPrefixedHexError +pub fn hex_conservative::error::FromPrefixedHexError::eq(&self, other: &hex_conservative::error::FromPrefixedHexError) -> bool +pub fn hex_conservative::error::FromPrefixedHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::MissingPrefixError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::HexToArrayError::clone(&self) -> hex_conservative::error::HexToArrayError +pub fn hex_conservative::error::HexToArrayError::eq(&self, other: &hex_conservative::error::HexToArrayError) -> bool +pub fn hex_conservative::error::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidCharError) -> Self +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidLengthError) -> Self +pub fn hex_conservative::error::HexToArrayError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::InvalidCharError::clone(&self) -> hex_conservative::error::InvalidCharError +pub fn hex_conservative::error::InvalidCharError::eq(&self, other: &hex_conservative::error::InvalidCharError) -> bool +pub fn hex_conservative::error::InvalidCharError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::InvalidCharError::invalid_char(&self) -> u8 +pub fn hex_conservative::error::InvalidCharError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::InvalidLengthError::clone(&self) -> hex_conservative::error::InvalidLengthError +pub fn hex_conservative::error::InvalidLengthError::eq(&self, other: &hex_conservative::error::InvalidLengthError) -> bool +pub fn hex_conservative::error::InvalidLengthError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::InvalidLengthError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::error::MissingPrefixError::clone(&self) -> hex_conservative::error::MissingPrefixError +pub fn hex_conservative::error::MissingPrefixError::eq(&self, other: &hex_conservative::error::MissingPrefixError) -> bool +pub fn hex_conservative::error::MissingPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::MissingPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::OddLengthStringError::clone(&self) -> hex_conservative::error::OddLengthStringError +pub fn hex_conservative::error::OddLengthStringError::eq(&self, other: &hex_conservative::error::OddLengthStringError) -> bool +pub fn hex_conservative::error::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::OddLengthStringError::input_string_length(&self) -> usize +pub fn hex_conservative::error::OddLengthStringError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> +pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::prelude::DisplayHex::append_hex_to_string(self, case: hex_conservative::Case, string: &mut alloc::string::String) pub fn hex_conservative::prelude::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::prelude::DisplayHex::hex_reserve_suggestion(self) -> usize pub fn hex_conservative::prelude::DisplayHex::to_hex_string(self, case: hex_conservative::Case) -> alloc::string::String pub fn hex_conservative::prelude::DisplayHex::to_lower_hex_string(self) -> alloc::string::String pub fn hex_conservative::prelude::DisplayHex::to_upper_hex_string(self) -> alloc::string::String -pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub hex_conservative::Case::Lower pub hex_conservative::Case::Upper -pub hex_conservative::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) -pub hex_conservative::parse::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::parse::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::parse::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::parse::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) +pub hex_conservative::FromHexError::Invalid(E) +pub hex_conservative::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::FromPrefixedHexError::Invalid(E) +pub hex_conservative::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::error::FromHexError::Invalid(E) +pub hex_conservative::error::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::error::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::error::FromPrefixedHexError::Invalid(E) +pub hex_conservative::error::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::error::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::error::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::parse::FromHexError::Invalid(E) +pub hex_conservative::parse::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::parse::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::parse::FromPrefixedHexError::Invalid(E) +pub hex_conservative::parse::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::parse::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::parse::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) pub macro hex_conservative::display::fmt_hex_exact! pub macro hex_conservative::fmt_hex_exact! pub macro hex_conservative::test_hex_unwrap! @@ -246,14 +399,20 @@ pub macro hex_conservative::write_err! pub mod hex_conservative pub mod hex_conservative::buf_encoder pub mod hex_conservative::display +pub mod hex_conservative::error pub mod hex_conservative::parse pub mod hex_conservative::prelude pub struct hex_conservative::BytesToHexIter> pub struct hex_conservative::HexToBytesIter<'a> +pub struct hex_conservative::InvalidCharError pub struct hex_conservative::OddLengthStringError pub struct hex_conservative::buf_encoder::BufEncoder pub struct hex_conservative::display::DisplayArray<'a, const CAP: usize> pub struct hex_conservative::display::DisplayByteSlice<'a> +pub struct hex_conservative::error::InvalidCharError +pub struct hex_conservative::error::InvalidLengthError +pub struct hex_conservative::error::OddLengthStringError +pub struct hex_conservative::parse::InvalidCharError pub trait hex_conservative::DisplayHex: core::marker::Copy + sealed::IsRef pub trait hex_conservative::FromHex: core::marker::Sized pub trait hex_conservative::display::DisplayHex: core::marker::Copy + sealed::IsRef @@ -289,13 +448,13 @@ pub type &'a [u8; 8]::Display = hex_conservative::display::DisplayArray<'a, {$le pub type &'a [u8; 9]::Display = hex_conservative::display::DisplayArray<'a, {$len * 2}> pub type &'a [u8]::Display = hex_conservative::display::DisplayByteSlice<'a> pub type &'a alloc::vec::Vec::Display = hex_conservative::display::DisplayByteSlice<'a> -pub type [u8; LEN]::Error = hex_conservative::HexToArrayError -pub type alloc::vec::Vec::Error = hex_conservative::HexToBytesError +pub type [u8; LEN]::Error = hex_conservative::error::HexToArrayError +pub type alloc::vec::Vec::Error = hex_conservative::error::InvalidCharError pub type hex_conservative::BytesToHexIter::Item = char pub type hex_conservative::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display -pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result +pub type hex_conservative::FromHex::Error: core::fmt::Debug + core::fmt::Display +pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result pub type hex_conservative::display::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::parse::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::parse::FromHex::Error: core::fmt::Debug + core::fmt::Display pub type hex_conservative::prelude::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::prelude::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::prelude::FromHex::Error: core::fmt::Debug + core::fmt::Display diff --git a/api/no-default-features.txt b/api/no-default-features.txt index 8387b31..21d9fad 100644 --- a/api/no-default-features.txt +++ b/api/no-default-features.txt @@ -1,51 +1,90 @@ +#[non_exhaustive] pub struct hex_conservative::error::ContainsPrefixError +#[non_exhaustive] pub struct hex_conservative::error::MissingPrefixError impl core::clone::Clone for hex_conservative::Case -impl core::clone::Clone for hex_conservative::HexToArrayError -impl core::clone::Clone for hex_conservative::HexToBytesError -impl core::clone::Clone for hex_conservative::OddLengthStringError +impl core::clone::Clone for hex_conservative::error::ContainsPrefixError +impl core::clone::Clone for hex_conservative::error::HexToArrayError +impl core::clone::Clone for hex_conservative::error::InvalidCharError +impl core::clone::Clone for hex_conservative::error::InvalidLengthError +impl core::clone::Clone for hex_conservative::error::MissingPrefixError +impl core::clone::Clone for hex_conservative::error::OddLengthStringError impl core::cmp::Eq for hex_conservative::Case -impl core::cmp::Eq for hex_conservative::HexToArrayError -impl core::cmp::Eq for hex_conservative::HexToBytesError -impl core::cmp::Eq for hex_conservative::OddLengthStringError +impl core::cmp::Eq for hex_conservative::error::ContainsPrefixError +impl core::cmp::Eq for hex_conservative::error::HexToArrayError +impl core::cmp::Eq for hex_conservative::error::InvalidCharError +impl core::cmp::Eq for hex_conservative::error::InvalidLengthError +impl core::cmp::Eq for hex_conservative::error::MissingPrefixError +impl core::cmp::Eq for hex_conservative::error::OddLengthStringError impl core::cmp::PartialEq for hex_conservative::Case -impl core::cmp::PartialEq for hex_conservative::HexToArrayError -impl core::cmp::PartialEq for hex_conservative::HexToBytesError -impl core::cmp::PartialEq for hex_conservative::OddLengthStringError -impl core::convert::From for hex_conservative::HexToArrayError -impl core::convert::From for hex_conservative::HexToBytesError +impl core::cmp::PartialEq for hex_conservative::error::ContainsPrefixError +impl core::cmp::PartialEq for hex_conservative::error::HexToArrayError +impl core::cmp::PartialEq for hex_conservative::error::InvalidCharError +impl core::cmp::PartialEq for hex_conservative::error::InvalidLengthError +impl core::cmp::PartialEq for hex_conservative::error::MissingPrefixError +impl core::cmp::PartialEq for hex_conservative::error::OddLengthStringError +impl core::convert::From for hex_conservative::error::HexToArrayError +impl core::convert::From for hex_conservative::error::HexToArrayError impl core::default::Default for hex_conservative::Case impl core::fmt::Debug for hex_conservative::Case -impl core::fmt::Debug for hex_conservative::HexToArrayError -impl core::fmt::Debug for hex_conservative::HexToBytesError -impl core::fmt::Debug for hex_conservative::OddLengthStringError -impl core::fmt::Display for hex_conservative::HexToArrayError -impl core::fmt::Display for hex_conservative::HexToBytesError -impl core::fmt::Display for hex_conservative::OddLengthStringError +impl core::fmt::Debug for hex_conservative::error::ContainsPrefixError +impl core::fmt::Debug for hex_conservative::error::HexToArrayError +impl core::fmt::Debug for hex_conservative::error::InvalidCharError +impl core::fmt::Debug for hex_conservative::error::InvalidLengthError +impl core::fmt::Debug for hex_conservative::error::MissingPrefixError +impl core::fmt::Debug for hex_conservative::error::OddLengthStringError +impl core::fmt::Display for hex_conservative::error::ContainsPrefixError +impl core::fmt::Display for hex_conservative::error::HexToArrayError +impl core::fmt::Display for hex_conservative::error::InvalidCharError +impl core::fmt::Display for hex_conservative::error::InvalidLengthError +impl core::fmt::Display for hex_conservative::error::MissingPrefixError +impl core::fmt::Display for hex_conservative::error::OddLengthStringError impl core::hash::Hash for hex_conservative::Case impl core::marker::Copy for hex_conservative::Case impl core::marker::Send for hex_conservative::Case -impl core::marker::Send for hex_conservative::HexToArrayError -impl core::marker::Send for hex_conservative::HexToBytesError -impl core::marker::Send for hex_conservative::OddLengthStringError +impl core::marker::Send for hex_conservative::error::ContainsPrefixError +impl core::marker::Send for hex_conservative::error::HexToArrayError +impl core::marker::Send for hex_conservative::error::InvalidCharError +impl core::marker::Send for hex_conservative::error::InvalidLengthError +impl core::marker::Send for hex_conservative::error::MissingPrefixError +impl core::marker::Send for hex_conservative::error::OddLengthStringError impl core::marker::StructuralPartialEq for hex_conservative::Case -impl core::marker::StructuralPartialEq for hex_conservative::HexToArrayError -impl core::marker::StructuralPartialEq for hex_conservative::HexToBytesError -impl core::marker::StructuralPartialEq for hex_conservative::OddLengthStringError +impl core::marker::StructuralPartialEq for hex_conservative::error::ContainsPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::HexToArrayError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidCharError +impl core::marker::StructuralPartialEq for hex_conservative::error::InvalidLengthError +impl core::marker::StructuralPartialEq for hex_conservative::error::MissingPrefixError +impl core::marker::StructuralPartialEq for hex_conservative::error::OddLengthStringError impl core::marker::Sync for hex_conservative::Case -impl core::marker::Sync for hex_conservative::HexToArrayError -impl core::marker::Sync for hex_conservative::HexToBytesError -impl core::marker::Sync for hex_conservative::OddLengthStringError +impl core::marker::Sync for hex_conservative::error::ContainsPrefixError +impl core::marker::Sync for hex_conservative::error::HexToArrayError +impl core::marker::Sync for hex_conservative::error::InvalidCharError +impl core::marker::Sync for hex_conservative::error::InvalidLengthError +impl core::marker::Sync for hex_conservative::error::MissingPrefixError +impl core::marker::Sync for hex_conservative::error::OddLengthStringError impl core::marker::Unpin for hex_conservative::Case -impl core::marker::Unpin for hex_conservative::HexToArrayError -impl core::marker::Unpin for hex_conservative::HexToBytesError -impl core::marker::Unpin for hex_conservative::OddLengthStringError +impl core::marker::Unpin for hex_conservative::error::ContainsPrefixError +impl core::marker::Unpin for hex_conservative::error::HexToArrayError +impl core::marker::Unpin for hex_conservative::error::InvalidCharError +impl core::marker::Unpin for hex_conservative::error::InvalidLengthError +impl core::marker::Unpin for hex_conservative::error::MissingPrefixError +impl core::marker::Unpin for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::OddLengthStringError impl core::panic::unwind_safe::UnwindSafe for hex_conservative::Case -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToArrayError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::HexToBytesError -impl core::panic::unwind_safe::UnwindSafe for hex_conservative::OddLengthStringError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::ContainsPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::HexToArrayError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidCharError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::InvalidLengthError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::MissingPrefixError +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::OddLengthStringError +impl hex_conservative::error::ContainsPrefixError +impl hex_conservative::error::InvalidCharError +impl hex_conservative::error::MissingPrefixError +impl hex_conservative::error::OddLengthStringError impl<'a, const CAP: usize> core::marker::Send for hex_conservative::display::DisplayArray<'a, CAP> impl<'a, const CAP: usize> core::marker::Sync for hex_conservative::display::DisplayArray<'a, CAP> impl<'a, const CAP: usize> core::marker::Unpin for hex_conservative::display::DisplayArray<'a, CAP> @@ -102,6 +141,44 @@ impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 7] impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 8] impl<'a> hex_conservative::display::DisplayHex for &'a [u8; 9] impl<'a> hex_conservative::display::DisplayHex for &'a [u8] +impl core::clone::Clone for hex_conservative::error::FromHexError +impl core::clone::Clone for hex_conservative::error::FromNoPrefixHexError +impl core::clone::Clone for hex_conservative::error::FromPrefixedHexError +impl core::cmp::Eq for hex_conservative::error::FromHexError +impl core::cmp::Eq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::Eq for hex_conservative::error::FromPrefixedHexError +impl core::cmp::PartialEq for hex_conservative::error::FromHexError +impl core::cmp::PartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::cmp::PartialEq for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Debug for hex_conservative::error::FromHexError +impl core::fmt::Debug for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Debug for hex_conservative::error::FromPrefixedHexError +impl core::fmt::Display for hex_conservative::error::FromHexError +impl core::fmt::Display for hex_conservative::error::FromNoPrefixHexError +impl core::fmt::Display for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::convert::From for hex_conservative::error::FromHexError +impl core::convert::From for hex_conservative::error::FromNoPrefixHexError +impl core::convert::From for hex_conservative::error::FromPrefixedHexError +impl core::marker::Send for hex_conservative::error::FromHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Send +impl core::marker::Send for hex_conservative::error::FromPrefixedHexError where E: core::marker::Send +impl core::marker::StructuralPartialEq for hex_conservative::error::FromHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromNoPrefixHexError +impl core::marker::StructuralPartialEq for hex_conservative::error::FromPrefixedHexError +impl core::marker::Sync for hex_conservative::error::FromHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Sync +impl core::marker::Sync for hex_conservative::error::FromPrefixedHexError where E: core::marker::Sync +impl core::marker::Unpin for hex_conservative::error::FromHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromNoPrefixHexError where E: core::marker::Unpin +impl core::marker::Unpin for hex_conservative::error::FromPrefixedHexError where E: core::marker::Unpin +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromNoPrefixHexError where E: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for hex_conservative::error::FromPrefixedHexError where E: core::panic::unwind_safe::UnwindSafe impl core::iter::traits::double_ended::DoubleEndedIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::double_ended::DoubleEndedIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::exact_size::ExactSizeIterator for hex_conservative::BytesToHexIter where I: core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::iterator::Iterator impl core::iter::traits::iterator::Iterator for hex_conservative::BytesToHexIter where I: core::iter::traits::iterator::Iterator @@ -121,10 +198,18 @@ impl core::panic::unwind_safe::UnwindSafe for hex_conservative impl hex_conservative::buf_encoder::BufEncoder impl hex_conservative::parse::FromHex for [u8; LEN] pub enum hex_conservative::Case +pub enum hex_conservative::FromHexError +pub enum hex_conservative::FromNoPrefixHexError +pub enum hex_conservative::FromPrefixedHexError pub enum hex_conservative::HexToArrayError -pub enum hex_conservative::HexToBytesError +pub enum hex_conservative::error::FromHexError +pub enum hex_conservative::error::FromNoPrefixHexError +pub enum hex_conservative::error::FromPrefixedHexError +pub enum hex_conservative::error::HexToArrayError +pub enum hex_conservative::parse::FromHexError +pub enum hex_conservative::parse::FromNoPrefixHexError +pub enum hex_conservative::parse::FromPrefixedHexError pub enum hex_conservative::parse::HexToArrayError -pub enum hex_conservative::parse::HexToBytesError pub fn &'a [u8; 1024]::as_hex(self) -> Self::Display pub fn &'a [u8; 10]::as_hex(self) -> Self::Display pub fn &'a [u8; 11]::as_hex(self) -> Self::Display @@ -154,7 +239,7 @@ pub fn &'a [u8; 8]::as_hex(self) -> Self::Display pub fn &'a [u8; 9]::as_hex(self) -> Self::Display pub fn &'a [u8]::as_hex(self) -> Self::Display pub fn &'a [u8]::hex_reserve_suggestion(self) -> usize -pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn [u8; LEN]::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator pub fn hex_conservative::BytesToHexIter::len(&self) -> usize pub fn hex_conservative::BytesToHexIter::new(iter: I) -> hex_conservative::BytesToHexIter pub fn hex_conservative::BytesToHexIter::next(&mut self) -> core::option::Option @@ -167,24 +252,16 @@ pub fn hex_conservative::Case::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> c pub fn hex_conservative::Case::hash<__H: core::hash::Hasher>(&self, state: &mut __H) pub fn hex_conservative::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::DisplayHex::hex_reserve_suggestion(self) -> usize -pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result -pub fn hex_conservative::HexToArrayError::clone(&self) -> hex_conservative::HexToArrayError -pub fn hex_conservative::HexToArrayError::eq(&self, other: &hex_conservative::HexToArrayError) -> bool -pub fn hex_conservative::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToArrayError::from(e: hex_conservative::HexToBytesError) -> Self -pub fn hex_conservative::HexToBytesError::clone(&self) -> hex_conservative::HexToBytesError -pub fn hex_conservative::HexToBytesError::eq(&self, other: &hex_conservative::HexToBytesError) -> bool -pub fn hex_conservative::HexToBytesError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result -pub fn hex_conservative::HexToBytesError::from(e: hex_conservative::OddLengthStringError) -> Self +pub fn hex_conservative::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::HexToBytesIter<'a>::len(&self) -> usize -pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::OddLengthStringError> -pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> -pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::new(s: &'a str) -> core::result::Result, hex_conservative::error::OddLengthStringError> +pub fn hex_conservative::HexToBytesIter<'a>::next(&mut self) -> core::option::Option> +pub fn hex_conservative::HexToBytesIter<'a>::next_back(&mut self) -> core::option::Option> pub fn hex_conservative::HexToBytesIter<'a>::size_hint(&self) -> (usize, core::option::Option) -pub fn hex_conservative::OddLengthStringError::clone(&self) -> hex_conservative::OddLengthStringError -pub fn hex_conservative::OddLengthStringError::eq(&self, other: &hex_conservative::OddLengthStringError) -> bool -pub fn hex_conservative::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn hex_conservative::buf_encoder::BufEncoder::as_str(&self) -> &str pub fn hex_conservative::buf_encoder::BufEncoder::clear(&mut self) pub fn hex_conservative::buf_encoder::BufEncoder::default() -> Self @@ -198,22 +275,88 @@ pub fn hex_conservative::display::DisplayArray<'a, LEN>::fmt(&self, f: &mut core pub fn hex_conservative::display::DisplayByteSlice<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn hex_conservative::display::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::display::DisplayHex::hex_reserve_suggestion(self) -> usize -pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::error::ContainsPrefixError::clone(&self) -> hex_conservative::error::ContainsPrefixError +pub fn hex_conservative::error::ContainsPrefixError::eq(&self, other: &hex_conservative::error::ContainsPrefixError) -> bool +pub fn hex_conservative::error::ContainsPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::ContainsPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::FromHexError::clone(&self) -> hex_conservative::error::FromHexError +pub fn hex_conservative::error::FromHexError::eq(&self, other: &hex_conservative::error::FromHexError) -> bool +pub fn hex_conservative::error::FromHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::clone(&self) -> hex_conservative::error::FromNoPrefixHexError +pub fn hex_conservative::error::FromNoPrefixHexError::eq(&self, other: &hex_conservative::error::FromNoPrefixHexError) -> bool +pub fn hex_conservative::error::FromNoPrefixHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::ContainsPrefixError) -> Self +pub fn hex_conservative::error::FromNoPrefixHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::clone(&self) -> hex_conservative::error::FromPrefixedHexError +pub fn hex_conservative::error::FromPrefixedHexError::eq(&self, other: &hex_conservative::error::FromPrefixedHexError) -> bool +pub fn hex_conservative::error::FromPrefixedHexError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::MissingPrefixError) -> Self +pub fn hex_conservative::error::FromPrefixedHexError::from(e: hex_conservative::error::OddLengthStringError) -> Self +pub fn hex_conservative::error::HexToArrayError::clone(&self) -> hex_conservative::error::HexToArrayError +pub fn hex_conservative::error::HexToArrayError::eq(&self, other: &hex_conservative::error::HexToArrayError) -> bool +pub fn hex_conservative::error::HexToArrayError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidCharError) -> Self +pub fn hex_conservative::error::HexToArrayError::from(e: hex_conservative::error::InvalidLengthError) -> Self +pub fn hex_conservative::error::InvalidCharError::clone(&self) -> hex_conservative::error::InvalidCharError +pub fn hex_conservative::error::InvalidCharError::eq(&self, other: &hex_conservative::error::InvalidCharError) -> bool +pub fn hex_conservative::error::InvalidCharError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::InvalidCharError::invalid_char(&self) -> u8 +pub fn hex_conservative::error::InvalidLengthError::clone(&self) -> hex_conservative::error::InvalidLengthError +pub fn hex_conservative::error::InvalidLengthError::eq(&self, other: &hex_conservative::error::InvalidLengthError) -> bool +pub fn hex_conservative::error::InvalidLengthError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::MissingPrefixError::clone(&self) -> hex_conservative::error::MissingPrefixError +pub fn hex_conservative::error::MissingPrefixError::eq(&self, other: &hex_conservative::error::MissingPrefixError) -> bool +pub fn hex_conservative::error::MissingPrefixError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::MissingPrefixError::new(input: &str) -> Self +pub fn hex_conservative::error::OddLengthStringError::clone(&self) -> hex_conservative::error::OddLengthStringError +pub fn hex_conservative::error::OddLengthStringError::eq(&self, other: &hex_conservative::error::OddLengthStringError) -> bool +pub fn hex_conservative::error::OddLengthStringError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +pub fn hex_conservative::error::OddLengthStringError::input_string_length(&self) -> usize +pub fn hex_conservative::parse::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::parse::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::parse::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub fn hex_conservative::prelude::DisplayHex::as_hex(self) -> Self::Display pub fn hex_conservative::prelude::DisplayHex::hex_reserve_suggestion(self) -> usize -pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator -pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result +pub fn hex_conservative::prelude::FromHex::from_byte_iter(iter: I) -> core::result::Result where I: core::iter::traits::iterator::Iterator> + core::iter::traits::exact_size::ExactSizeIterator + core::iter::traits::double_ended::DoubleEndedIterator +pub fn hex_conservative::prelude::FromHex::from_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_maybe_prefixed_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_no_prefix_hex(s: &str) -> core::result::Result> +pub fn hex_conservative::prelude::FromHex::from_prefixed_hex(s: &str) -> core::result::Result> pub hex_conservative::Case::Lower pub hex_conservative::Case::Upper -pub hex_conservative::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) -pub hex_conservative::parse::HexToArrayError::Conversion(hex_conservative::HexToBytesError) -pub hex_conservative::parse::HexToArrayError::InvalidLength(InvalidLengthError) -pub hex_conservative::parse::HexToBytesError::InvalidChar(InvalidCharError) -pub hex_conservative::parse::HexToBytesError::OddLengthString(hex_conservative::OddLengthStringError) +pub hex_conservative::FromHexError::Invalid(E) +pub hex_conservative::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::FromPrefixedHexError::Invalid(E) +pub hex_conservative::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::error::FromHexError::Invalid(E) +pub hex_conservative::error::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::error::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::error::FromPrefixedHexError::Invalid(E) +pub hex_conservative::error::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::error::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::error::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::error::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) +pub hex_conservative::parse::FromHexError::Invalid(E) +pub hex_conservative::parse::FromHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Invalid(E) +pub hex_conservative::parse::FromNoPrefixHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromNoPrefixHexError::Prefix(hex_conservative::error::ContainsPrefixError) +pub hex_conservative::parse::FromPrefixedHexError::Invalid(E) +pub hex_conservative::parse::FromPrefixedHexError::OddLengthString(hex_conservative::error::OddLengthStringError) +pub hex_conservative::parse::FromPrefixedHexError::Prefix(hex_conservative::error::MissingPrefixError) +pub hex_conservative::parse::HexToArrayError::InvalidChar(hex_conservative::error::InvalidCharError) +pub hex_conservative::parse::HexToArrayError::InvalidLength(hex_conservative::error::InvalidLengthError) pub macro hex_conservative::display::fmt_hex_exact! pub macro hex_conservative::fmt_hex_exact! pub macro hex_conservative::test_hex_unwrap! @@ -221,14 +364,20 @@ pub macro hex_conservative::write_err! pub mod hex_conservative pub mod hex_conservative::buf_encoder pub mod hex_conservative::display +pub mod hex_conservative::error pub mod hex_conservative::parse pub mod hex_conservative::prelude pub struct hex_conservative::BytesToHexIter> pub struct hex_conservative::HexToBytesIter<'a> +pub struct hex_conservative::InvalidCharError pub struct hex_conservative::OddLengthStringError pub struct hex_conservative::buf_encoder::BufEncoder pub struct hex_conservative::display::DisplayArray<'a, const CAP: usize> pub struct hex_conservative::display::DisplayByteSlice<'a> +pub struct hex_conservative::error::InvalidCharError +pub struct hex_conservative::error::InvalidLengthError +pub struct hex_conservative::error::OddLengthStringError +pub struct hex_conservative::parse::InvalidCharError pub trait hex_conservative::DisplayHex: core::marker::Copy + sealed::IsRef pub trait hex_conservative::FromHex: core::marker::Sized pub trait hex_conservative::display::DisplayHex: core::marker::Copy + sealed::IsRef @@ -263,12 +412,12 @@ pub type &'a [u8; 7]::Display = hex_conservative::display::DisplayArray<'a, {$le pub type &'a [u8; 8]::Display = hex_conservative::display::DisplayArray<'a, {$len * 2}> pub type &'a [u8; 9]::Display = hex_conservative::display::DisplayArray<'a, {$len * 2}> pub type &'a [u8]::Display = hex_conservative::display::DisplayByteSlice<'a> -pub type [u8; LEN]::Error = hex_conservative::HexToArrayError +pub type [u8; LEN]::Error = hex_conservative::error::HexToArrayError pub type hex_conservative::BytesToHexIter::Item = char pub type hex_conservative::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display -pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result +pub type hex_conservative::FromHex::Error: core::fmt::Debug + core::fmt::Display +pub type hex_conservative::HexToBytesIter<'a>::Item = core::result::Result pub type hex_conservative::display::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::parse::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::parse::FromHex::Error: core::fmt::Debug + core::fmt::Display pub type hex_conservative::prelude::DisplayHex::Display: core::fmt::Display + core::fmt::Debug + core::fmt::LowerHex + core::fmt::UpperHex -pub type hex_conservative::prelude::FromHex::Error: core::convert::From + core::marker::Sized + core::fmt::Debug + core::fmt::Display +pub type hex_conservative::prelude::FromHex::Error: core::fmt::Debug + core::fmt::Display