Enum url::SyntaxViolation [−][src]
pub enum SyntaxViolation {
Backslash,
C0SpaceIgnored,
EmbeddedCredentials,
ExpectedDoubleSlash,
ExpectedFileDoubleSlash,
FileWithHostAndWindowsDrive,
NonUrlCodePoint,
NullInFragment,
PercentDecode,
TabOrNewlineIgnored,
UnencodedAtSign,
// some variants omitted
}
Expand description
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
Backslash
C0SpaceIgnored
EmbeddedCredentials
ExpectedDoubleSlash
ExpectedFileDoubleSlash
FileWithHostAndWindowsDrive
NonUrlCodePoint
NullInFragment
PercentDecode
TabOrNewlineIgnored
UnencodedAtSign
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SyntaxViolation
impl Send for SyntaxViolation
impl Sync for SyntaxViolation
impl Unpin for SyntaxViolation
impl UnwindSafe for SyntaxViolation
Blanket Implementations
Mutably borrows from an owned value. Read more