Enum rusty_spine::SpineError
source · pub enum SpineError {
ParsingFailed {
reason: String,
},
NulError(NulError),
NotFound {
what: String,
name: String,
},
FailedToReadFile {
file: String,
},
}
Variants
ParsingFailed
Fields
reason: String
A parsing error straight from the Spine C runtime.
NulError(NulError)
A wrapper for std::ffi::NulError
.
NotFound
An error when something couldn’t be found, represented by what
it was and its name
.
FailedToReadFile
Fields
file: String
An error when failing to read files.
Trait Implementations
sourceimpl Debug for SpineError
impl Debug for SpineError
sourceimpl Display for SpineError
impl Display for SpineError
sourceimpl Error for SpineError
impl Error for SpineError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for SpineError
impl Send for SpineError
impl Sync for SpineError
impl Unpin for SpineError
impl UnwindSafe for SpineError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more