Struct koto_bytecode::LoaderError
source · pub struct LoaderError { /* private fields */ }Expand description
The error type used by the Loader
Implementations§
source§impl LoaderError
impl LoaderError
sourcepub fn is_indentation_error(&self) -> bool
pub fn is_indentation_error(&self) -> bool
Returns true if the error was caused by the expectation of indentation during parsing
Trait Implementations§
source§impl Clone for LoaderError
impl Clone for LoaderError
source§fn clone(&self) -> LoaderError
fn clone(&self) -> LoaderError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LoaderError
impl Debug for LoaderError
source§impl Display for LoaderError
impl Display for LoaderError
source§impl Error for LoaderError
impl Error for LoaderError
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 LoaderError
impl !RefUnwindSafe for LoaderError
impl Send for LoaderError
impl Sync for LoaderError
impl Unpin for LoaderError
impl !UnwindSafe for LoaderError
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