Struct jomini::text::ReaderError
source · pub struct ReaderError { /* private fields */ }
Expand description
An text lexing error over a Read
implementation
Implementations§
source§impl ReaderError
impl ReaderError
sourcepub fn kind(&self) -> &ReaderErrorKind
pub fn kind(&self) -> &ReaderErrorKind
Return a reference the error kind
sourcepub fn into_kind(self) -> ReaderErrorKind
pub fn into_kind(self) -> ReaderErrorKind
Consume self and return the error kind
Trait Implementations§
source§impl Debug for ReaderError
impl Debug for ReaderError
source§impl Display for ReaderError
impl Display for ReaderError
source§impl Error for ReaderError
impl Error for ReaderError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<ReaderError> for Error
impl From<ReaderError> for Error
source§fn from(value: TextReaderError) -> Self
fn from(value: TextReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReaderError
impl !RefUnwindSafe for ReaderError
impl Send for ReaderError
impl Sync for ReaderError
impl Unpin for ReaderError
impl !UnwindSafe for ReaderError
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