Enum url::SyntaxViolation [−][src]
pub enum SyntaxViolation {
Backslash,
C0SpaceIgnored,
EmbeddedCredentials,
ExpectedDoubleSlash,
ExpectedFileDoubleSlash,
FileWithHostAndWindowsDrive,
NonUrlCodePoint,
NullInFragment,
PercentDecode,
TabOrNewlineIgnored,
UnencodedAtSign,
// some variants omitted
}Non-fatal syntax violations that can occur during parsing.
This may be extended in the future so exhaustive matching is discouraged with an unused variant.
Variants
Implementations
impl SyntaxViolation[src]
impl SyntaxViolation[src]pub fn description(&self) -> &'static str[src]
Trait Implementations
impl Clone for SyntaxViolation[src]
impl Clone for SyntaxViolation[src]fn clone(&self) -> SyntaxViolation[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<SyntaxViolation> for SyntaxViolation[src]
impl PartialEq<SyntaxViolation> for SyntaxViolation[src]