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
Backslash
C0SpaceIgnored
EmbeddedCredentials
ExpectedDoubleSlash
ExpectedFileDoubleSlash
FileWithHostAndWindowsDrive
NonUrlCodePoint
NullInFragment
PercentDecode
TabOrNewlineIgnored
UnencodedAtSign
Methods
impl SyntaxViolation
[src]
impl SyntaxViolation
pub fn description(&self) -> &'static str
[src]
pub fn description(&self) -> &'static str
Trait Implementations
impl PartialEq for SyntaxViolation
[src]
impl PartialEq for SyntaxViolation
fn eq(&self, other: &SyntaxViolation) -> bool
[src]
fn eq(&self, other: &SyntaxViolation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for SyntaxViolation
[src]
impl Eq for SyntaxViolation
impl Clone for SyntaxViolation
[src]
impl Clone for SyntaxViolation
fn clone(&self) -> SyntaxViolation
[src]
fn clone(&self) -> SyntaxViolation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for SyntaxViolation
[src]
impl Copy for SyntaxViolation
impl Debug for SyntaxViolation
[src]
impl Debug for SyntaxViolation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for SyntaxViolation
[src]
impl Display for SyntaxViolation
Auto Trait Implementations
impl Send for SyntaxViolation
impl Send for SyntaxViolation
impl Sync for SyntaxViolation
impl Sync for SyntaxViolation