[−][src]Struct ucd_parse::Error
Represents any kind of error that can occur while parsing the UCD.
Methods
impl Error
[src]
pub fn kind(&self) -> &ErrorKind
[src]
Return the specific kind of this error.
pub fn line(&self) -> Option<u64>
[src]
Return the line number at which this error occurred, if available.
pub fn path(&self) -> Option<&Path>
[src]
Return the file path associated with this error, if one exists.
pub fn into_kind(self) -> ErrorKind
[src]
Unwrap this error into its underlying kind.
pub fn is_io_error(&self) -> bool
[src]
Returns true if and only if this is an I/O error.
If this returns true, the underlying ErrorKind
is guaranteed to be
ErrorKind::Io
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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,
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.
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>,