Enum yamlscript::Error
source · pub enum Error {
NotFound,
Load(Error),
Init(i32),
Yamlscript(String),
}
Expand description
An error with libyamlscript.
Variants§
NotFound
The library was not found.
Load(Error)
An error while loading the library.
This error is unrecoverable and any further attempt to call any libyamlscript function will fail.
Init(i32)
An error while initializing the library.
The library has been correctly found and opened, but attempting to initialize it has failed.
Yamlscript(String)
An error while calling a libyamlscript function.
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§
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