pub struct Errors {
punycode: bool,
check_hyphens: bool,
check_bidi: bool,
start_combining_mark: bool,
invalid_mapping: bool,
nfc: bool,
disallowed_by_std3_ascii_rules: bool,
disallowed_mapped_in_std3: bool,
disallowed_character: bool,
too_long_for_dns: bool,
too_short_for_dns: bool,
disallowed_in_idna_2008: bool,
}
Expand description
Errors recorded during UTS #46 processing.
This is opaque for now, indicating what types of errors have been encountered at least once. More details may be exposed in the future.
Fields§
§punycode: bool
§check_hyphens: bool
§check_bidi: bool
§start_combining_mark: bool
§invalid_mapping: bool
§nfc: bool
§disallowed_by_std3_ascii_rules: bool
§disallowed_mapped_in_std3: bool
§disallowed_character: bool
§too_long_for_dns: bool
§too_short_for_dns: bool
§disallowed_in_idna_2008: bool
Implementations§
Trait Implementations§
source§impl Error for Errors
impl Error for Errors
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl RefUnwindSafe for Errors
impl Send for Errors
impl Sync for Errors
impl Unpin for Errors
impl UnwindSafe for Errors
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more