#[non_exhaustive]pub enum TelParameterErrorKind {
Empty,
Name,
Value,
}Expand description
The malformed part of a generic RFC 3966 parameter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
An empty segment, including a trailing or repeated ; delimiter.
Name
An empty or syntactically invalid pname.
Value
An empty or syntactically invalid pvalue.
Trait Implementations§
Source§impl Clone for TelParameterErrorKind
impl Clone for TelParameterErrorKind
Source§fn clone(&self) -> TelParameterErrorKind
fn clone(&self) -> TelParameterErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelParameterErrorKind
impl Debug for TelParameterErrorKind
Source§impl Display for TelParameterErrorKind
impl Display for TelParameterErrorKind
Source§impl Error for TelParameterErrorKind
impl Error for TelParameterErrorKind
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for TelParameterErrorKind
impl PartialEq for TelParameterErrorKind
Source§fn eq(&self, other: &TelParameterErrorKind) -> bool
fn eq(&self, other: &TelParameterErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TelParameterErrorKind
impl Eq for TelParameterErrorKind
impl StructuralPartialEq for TelParameterErrorKind
Auto Trait Implementations§
impl Freeze for TelParameterErrorKind
impl RefUnwindSafe for TelParameterErrorKind
impl Send for TelParameterErrorKind
impl Sync for TelParameterErrorKind
impl Unpin for TelParameterErrorKind
impl UnsafeUnpin for TelParameterErrorKind
impl UnwindSafe for TelParameterErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more