[−][src]Struct lenient_semver_parser::OwnedError
Owned version of Error
which clones the input string.
Implementations
impl OwnedError
[src]
pub fn borrowed(&self) -> Error<'_>
[src]
Return a borrowed version of this error.
pub fn input(&self) -> &str
[src]
See Error::input
.
pub fn error_span(&self) -> Range<usize>
[src]
See Error::error_span
.
pub fn error_kind(&self) -> ErrorKind
[src]
See Error::error_kind
.
pub fn erroneous_input(&self) -> &str
[src]
pub fn error_line(&self) -> String
[src]
See Error::error_line
.
pub fn indicate_erroneous_input(&self) -> String
[src]
Trait Implementations
impl Debug for OwnedError
[src]
impl Display for OwnedError
[src]
impl Eq for OwnedError
[src]
impl Error for OwnedError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<OwnedError> for OwnedError
[src]
fn eq(&self, other: &OwnedError) -> bool
[src]
fn ne(&self, other: &OwnedError) -> bool
[src]
impl StructuralEq for OwnedError
[src]
impl StructuralPartialEq for OwnedError
[src]
Auto Trait Implementations
impl RefUnwindSafe for OwnedError
impl Send for OwnedError
impl Sync for OwnedError
impl Unpin for OwnedError
impl UnwindSafe for OwnedError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,