[][src]Struct lenient_semver_parser::OwnedError

pub struct OwnedError { /* fields omitted */ }

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]

pub fn error_span(&self) -> Range<usize>[src]

pub fn error_kind(&self) -> ErrorKind[src]

pub fn erroneous_input(&self) -> &str[src]

pub fn error_line(&self) -> String[src]

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]

impl PartialEq<OwnedError> for OwnedError[src]

impl StructuralEq for OwnedError[src]

impl StructuralPartialEq for OwnedError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.