#[non_exhaustive]pub enum ValidationIssue {
Show 15 variants
EmptyValue {
field: &'static str,
},
InvalidScreenDimensions,
WorkAreaExceedsScreen,
InvalidScaleFactor,
LocaleLanguageMismatch,
TouchContradiction,
PlatformMismatch,
ChromeVersionMismatch,
DuplicateBrand {
brand: String,
},
ClientHintBrandSetMismatch,
MissingChromeBrands,
InvalidWow64,
InvalidArchitectureBitness,
MobileMetadataMismatch,
InvalidPlatformVersion,
}Expand description
A known consistency or configuration problem.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmptyValue
A required text value is empty.
InvalidScreenDimensions
Screen dimensions are invalid.
WorkAreaExceedsScreen
Available work-area dimensions exceed the screen.
InvalidScaleFactor
Device scale factor is invalid.
LocaleLanguageMismatch
Locale and primary navigator language disagree.
TouchContradiction
Touch state and point count disagree.
PlatformMismatch
User agent, navigator platform, and Client Hints platform disagree.
ChromeVersionMismatch
User-agent and Client Hint Chrome versions disagree.
DuplicateBrand
A Client Hint brand occurs more than once.
ClientHintBrandSetMismatch
Reduced and full UA Client Hint brand sets disagree.
MissingChromeBrands
Required Chromium and Google Chrome brand entries are missing.
InvalidWow64
WoW64 is only valid for a 32-bit x86 Windows browser identity.
InvalidArchitectureBitness
Architecture and bitness are not a supported Client Hint combination.
MobileMetadataMismatch
Model and form-factor metadata contradict the mobile state.
InvalidPlatformVersion
Platform version does not follow the platform’s expected format.
Trait Implementations§
Source§impl Clone for ValidationIssue
impl Clone for ValidationIssue
Source§impl Debug for ValidationIssue
impl Debug for ValidationIssue
Source§impl Display for ValidationIssue
impl Display for ValidationIssue
impl Eq for ValidationIssue
Source§impl Error for ValidationIssue
impl Error for ValidationIssue
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()