pub enum SqliteCreateError {
NumWorkersTooSmall,
SqliteBackend(SqliteBackendError),
Other(JsErrorBox),
}Variants§
Trait Implementations§
Source§impl Debug for SqliteCreateError
impl Debug for SqliteCreateError
Source§impl Display for SqliteCreateError
impl Display for SqliteCreateError
Source§impl Error for SqliteCreateError
impl Error for SqliteCreateError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<JsErrorBox> for SqliteCreateError
impl From<JsErrorBox> for SqliteCreateError
Source§fn from(source: JsErrorBox) -> Self
fn from(source: JsErrorBox) -> Self
Converts to this type from the input type.
Source§impl From<SqliteBackendError> for SqliteCreateError
impl From<SqliteBackendError> for SqliteCreateError
Source§fn from(source: SqliteBackendError) -> Self
fn from(source: SqliteBackendError) -> Self
Converts to this type from the input type.
Source§impl JsErrorClass for SqliteCreateError
impl JsErrorClass for SqliteCreateError
Source§fn get_message(&self) -> Cow<'static, str>
fn get_message(&self) -> Cow<'static, str>
Represents the error message used in JavaScript side.
Source§fn get_additional_properties(&self) -> AdditionalProperties
fn get_additional_properties(&self) -> AdditionalProperties
Additional properties that should be defined on the error in JavaScript side.
fn get_ref(&self) -> &(dyn Error + Send + Sync + 'static)
Auto Trait Implementations§
impl !RefUnwindSafe for SqliteCreateError
impl !UnwindSafe for SqliteCreateError
impl Freeze for SqliteCreateError
impl Send for SqliteCreateError
impl Sync for SqliteCreateError
impl Unpin for SqliteCreateError
impl UnsafeUnpin for SqliteCreateError
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