Struct quartz_nbt::snbt::SnbtError
source · pub struct SnbtError { /* private fields */ }
Expand description
An error that occurs during the parsing process. This error contains a copy of a segment
of the input where the error occurred as well as metadata about the specific error. See
ParserErrorType
for the different error types.
Trait Implementations§
source§impl Error for SnbtError
impl Error for SnbtError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for SnbtError
impl RefUnwindSafe for SnbtError
impl Send for SnbtError
impl Sync for SnbtError
impl Unpin for SnbtError
impl UnwindSafe for SnbtError
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