Enum hetu::ParseError [−][src]
pub enum ParseError<'a> { Syntax(&'a str, usize, usize), Day(&'a str, usize, usize), Month(&'a str, usize, usize), Year(&'a str, usize, usize), Identifier(&'a str, usize, usize), Checksum(&'a str, usize, usize, char), }
Variants
Trait Implementations
impl<'a> Clone for ParseError<'a>
[src]
impl<'a> Clone for ParseError<'a>
[src]fn clone(&self) -> ParseError<'a>
[src]
fn clone(&self) -> ParseError<'a>
[src]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<'a> Debug for ParseError<'a>
[src]
impl<'a> Debug for ParseError<'a>
[src]impl<'a> Display for ParseError<'a>
[src]
impl<'a> Display for ParseError<'a>
[src]impl<'a> Error for ParseError<'a>
[src]
impl<'a> Error for ParseError<'a>
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn cause(&self) -> Option<&(dyn Error + 'static)>
[src]
fn cause(&self) -> Option<&(dyn Error + 'static)>
[src]👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
impl<'a> ErrorIndexRange for ParseError<'a>
[src]
impl<'a> ErrorIndexRange for ParseError<'a>
[src]impl<'a> PartialEq<ParseError<'a>> for ParseError<'a>
[src]
impl<'a> PartialEq<ParseError<'a>> for ParseError<'a>
[src]fn eq(&self, other: &ParseError<'a>) -> bool
[src]
fn eq(&self, other: &ParseError<'a>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ParseError<'a>) -> bool
[src]
fn ne(&self, other: &ParseError<'a>) -> bool
[src]This method tests for !=
.
impl<'a> Copy for ParseError<'a>
[src]
impl<'a> StructuralPartialEq for ParseError<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for ParseError<'a>
impl<'a> Send for ParseError<'a>
impl<'a> Sync for ParseError<'a>
impl<'a> Unpin for ParseError<'a>
impl<'a> UnwindSafe for ParseError<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more