pub enum KernelError {
Internal(String),
CStringCreationFailed(String),
InvalidOptions(String),
OutOfBounds,
ScriptVerify(ScriptVerifyError),
}Expand description
A collection of errors emitted by this library
Variants§
Internal(String)
CStringCreationFailed(String)
InvalidOptions(String)
OutOfBounds
ScriptVerify(ScriptVerifyError)
Trait Implementations§
Source§impl Debug for KernelError
impl Debug for KernelError
Source§impl Display for KernelError
impl Display for KernelError
Auto Trait Implementations§
impl Freeze for KernelError
impl RefUnwindSafe for KernelError
impl Send for KernelError
impl Sync for KernelError
impl Unpin for KernelError
impl UnwindSafe for KernelError
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