pub enum EngineOpenError {
DatabaseLocked {
holder_pid: Option<u32>,
},
Corruption(CorruptionDetail),
IncompatibleSchemaVersion {
seen: u32,
supported: u32,
},
MigrationError {
schema_version_before: u32,
schema_version_current: u32,
step_id: u32,
},
EmbedderIdentityMismatch {
stored: EmbedderIdentity,
supplied: EmbedderIdentity,
},
EmbedderDimensionMismatch {
stored: u32,
supplied: u32,
},
Embedder(EmbedderError),
Io {
message: String,
},
}Variants§
DatabaseLocked
Corruption(CorruptionDetail)
IncompatibleSchemaVersion
MigrationError
EmbedderIdentityMismatch
EmbedderDimensionMismatch
Embedder(EmbedderError)
Embedder runtime returned a typed error during Engine::open.
Io
Trait Implementations§
Source§impl Clone for EngineOpenError
impl Clone for EngineOpenError
Source§fn clone(&self) -> EngineOpenError
fn clone(&self) -> EngineOpenError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EngineOpenError
impl Debug for EngineOpenError
Source§impl Display for EngineOpenError
impl Display for EngineOpenError
impl Eq for EngineOpenError
Source§impl Error for EngineOpenError
impl Error for EngineOpenError
1.30.0 · 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 PartialEq for EngineOpenError
impl PartialEq for EngineOpenError
Source§fn eq(&self, other: &EngineOpenError) -> bool
fn eq(&self, other: &EngineOpenError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EngineOpenError
Auto Trait Implementations§
impl Freeze for EngineOpenError
impl RefUnwindSafe for EngineOpenError
impl Send for EngineOpenError
impl Sync for EngineOpenError
impl Unpin for EngineOpenError
impl UnsafeUnpin for EngineOpenError
impl UnwindSafe for EngineOpenError
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