Enum url::SyntaxViolation
[−]
[src]
pub enum SyntaxViolation {
Backslash,
C0SpaceIgnored,
EmbeddedCredentials,
ExpectedDoubleSlash,
ExpectedFileDoubleSlash,
FileWithHostAndWindowsDrive,
NonUrlCodePoint,
NullInFragment,
PercentDecode,
TabOrNewlineIgnored,
UnencodedAtSign,
}Non-fatal syntax violations that can occur during parsing.
Variants
BackslashC0SpaceIgnoredEmbeddedCredentialsExpectedDoubleSlashExpectedFileDoubleSlashFileWithHostAndWindowsDriveNonUrlCodePointNullInFragmentPercentDecodeTabOrNewlineIgnoredUnencodedAtSign
Methods
impl SyntaxViolation[src]
pub fn description(&self) -> &'static str[src]
Trait Implementations
impl PartialEq for SyntaxViolation[src]
fn eq(&self, __arg_0: &SyntaxViolation) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Eq for SyntaxViolation[src]
impl Clone for SyntaxViolation[src]
fn clone(&self) -> SyntaxViolation[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for SyntaxViolation[src]
impl Debug for SyntaxViolation[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more