pub enum DBError {
Show 26 variants
Lib(LibError),
Buffer(DecodeError),
Datastore(DatastoreError),
Sequence2(SequenceError),
Schema(SchemaErrors),
IoError(Error),
ParseInt(ParseIntError),
DecodeHexHash(usize),
DecodeHex(FromHexError),
Database(DatabaseError),
SledDbError(Error),
MessageLogPoisoned(String),
Vm(ErrorVm),
VmUser(ErrorLang),
Subscription(SubscriptionError),
Client(ClientError),
SqlParser {
sql: String,
error: ParserError,
},
Plan {
sql: String,
error: PlanError,
},
LogReplay(LogReplayError),
Snapshot(Box<SnapshotError>),
ReadViaBsatnError(ReadViaBsatnError),
ModuleValidationErrors(ValidationErrors),
Other(Error),
TypeError(TypingError),
WithSql {
error: Box<DBError>,
sql: Box<str>,
},
RestoreSnapshot(RestoreSnapshotError),
}Variants§
Lib(LibError)
Buffer(DecodeError)
Datastore(DatastoreError)
Sequence2(SequenceError)
Schema(SchemaErrors)
IoError(Error)
ParseInt(ParseIntError)
DecodeHexHash(usize)
DecodeHex(FromHexError)
Database(DatabaseError)
SledDbError(Error)
MessageLogPoisoned(String)
Vm(ErrorVm)
VmUser(ErrorLang)
Subscription(SubscriptionError)
Client(ClientError)
SqlParser
Plan
LogReplay(LogReplayError)
Snapshot(Box<SnapshotError>)
ReadViaBsatnError(ReadViaBsatnError)
ModuleValidationErrors(ValidationErrors)
Other(Error)
TypeError(TypingError)
WithSql
RestoreSnapshot(RestoreSnapshotError)
Implementations§
Source§impl DBError
impl DBError
Sourcepub fn as_lib_mut(&mut self) -> Option<&mut LibError>
pub fn as_lib_mut(&mut self) -> Option<&mut LibError>
Optionally returns mutable references to the inner fields if this is a DBError::Lib, otherwise None
Sourcepub fn as_lib(&self) -> Option<&LibError>
pub fn as_lib(&self) -> Option<&LibError>
Optionally returns references to the inner fields if this is a DBError::Lib, otherwise None
Sourcepub fn into_lib(self) -> Result<LibError, Self>
pub fn into_lib(self) -> Result<LibError, Self>
Returns the inner fields if this is a DBError::Lib, otherwise returns back the enum in the Err case of the result
Sourcepub fn as_buffer_mut(&mut self) -> Option<&mut DecodeError>
pub fn as_buffer_mut(&mut self) -> Option<&mut DecodeError>
Optionally returns mutable references to the inner fields if this is a DBError::Buffer, otherwise None
Sourcepub fn as_buffer(&self) -> Option<&DecodeError>
pub fn as_buffer(&self) -> Option<&DecodeError>
Optionally returns references to the inner fields if this is a DBError::Buffer, otherwise None
Sourcepub fn into_buffer(self) -> Result<DecodeError, Self>
pub fn into_buffer(self) -> Result<DecodeError, Self>
Returns the inner fields if this is a DBError::Buffer, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_datastore(&self) -> bool
pub fn is_datastore(&self) -> bool
Returns true if this is a DBError::Datastore, otherwise false
Sourcepub fn as_datastore_mut(&mut self) -> Option<&mut DatastoreError>
pub fn as_datastore_mut(&mut self) -> Option<&mut DatastoreError>
Optionally returns mutable references to the inner fields if this is a DBError::Datastore, otherwise None
Sourcepub fn as_datastore(&self) -> Option<&DatastoreError>
pub fn as_datastore(&self) -> Option<&DatastoreError>
Optionally returns references to the inner fields if this is a DBError::Datastore, otherwise None
Sourcepub fn into_datastore(self) -> Result<DatastoreError, Self>
pub fn into_datastore(self) -> Result<DatastoreError, Self>
Returns the inner fields if this is a DBError::Datastore, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_sequence2(&self) -> bool
pub fn is_sequence2(&self) -> bool
Returns true if this is a DBError::Sequence2, otherwise false
Sourcepub fn as_sequence2_mut(&mut self) -> Option<&mut SequenceError>
pub fn as_sequence2_mut(&mut self) -> Option<&mut SequenceError>
Optionally returns mutable references to the inner fields if this is a DBError::Sequence2, otherwise None
Sourcepub fn as_sequence2(&self) -> Option<&SequenceError>
pub fn as_sequence2(&self) -> Option<&SequenceError>
Optionally returns references to the inner fields if this is a DBError::Sequence2, otherwise None
Sourcepub fn into_sequence2(self) -> Result<SequenceError, Self>
pub fn into_sequence2(self) -> Result<SequenceError, Self>
Returns the inner fields if this is a DBError::Sequence2, otherwise returns back the enum in the Err case of the result
Sourcepub fn as_schema_mut(&mut self) -> Option<&mut SchemaErrors>
pub fn as_schema_mut(&mut self) -> Option<&mut SchemaErrors>
Optionally returns mutable references to the inner fields if this is a DBError::Schema, otherwise None
Sourcepub fn as_schema(&self) -> Option<&SchemaErrors>
pub fn as_schema(&self) -> Option<&SchemaErrors>
Optionally returns references to the inner fields if this is a DBError::Schema, otherwise None
Sourcepub fn into_schema(self) -> Result<SchemaErrors, Self>
pub fn into_schema(self) -> Result<SchemaErrors, Self>
Returns the inner fields if this is a DBError::Schema, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_io_error(&self) -> bool
pub fn is_io_error(&self) -> bool
Returns true if this is a DBError::IoError, otherwise false
Sourcepub fn as_io_error_mut(&mut self) -> Option<&mut Error>
pub fn as_io_error_mut(&mut self) -> Option<&mut Error>
Optionally returns mutable references to the inner fields if this is a DBError::IoError, otherwise None
Sourcepub fn as_io_error(&self) -> Option<&Error>
pub fn as_io_error(&self) -> Option<&Error>
Optionally returns references to the inner fields if this is a DBError::IoError, otherwise None
Sourcepub fn into_io_error(self) -> Result<Error, Self>
pub fn into_io_error(self) -> Result<Error, Self>
Returns the inner fields if this is a DBError::IoError, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_parse_int(&self) -> bool
pub fn is_parse_int(&self) -> bool
Returns true if this is a DBError::ParseInt, otherwise false
Sourcepub fn as_parse_int_mut(&mut self) -> Option<&mut ParseIntError>
pub fn as_parse_int_mut(&mut self) -> Option<&mut ParseIntError>
Optionally returns mutable references to the inner fields if this is a DBError::ParseInt, otherwise None
Sourcepub fn as_parse_int(&self) -> Option<&ParseIntError>
pub fn as_parse_int(&self) -> Option<&ParseIntError>
Optionally returns references to the inner fields if this is a DBError::ParseInt, otherwise None
Sourcepub fn into_parse_int(self) -> Result<ParseIntError, Self>
pub fn into_parse_int(self) -> Result<ParseIntError, Self>
Returns the inner fields if this is a DBError::ParseInt, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_decode_hex_hash(&self) -> bool
pub fn is_decode_hex_hash(&self) -> bool
Returns true if this is a DBError::DecodeHexHash, otherwise false
Sourcepub fn as_decode_hex_hash_mut(&mut self) -> Option<&mut usize>
pub fn as_decode_hex_hash_mut(&mut self) -> Option<&mut usize>
Optionally returns mutable references to the inner fields if this is a DBError::DecodeHexHash, otherwise None
Sourcepub fn as_decode_hex_hash(&self) -> Option<&usize>
pub fn as_decode_hex_hash(&self) -> Option<&usize>
Optionally returns references to the inner fields if this is a DBError::DecodeHexHash, otherwise None
Sourcepub fn into_decode_hex_hash(self) -> Result<usize, Self>
pub fn into_decode_hex_hash(self) -> Result<usize, Self>
Returns the inner fields if this is a DBError::DecodeHexHash, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_decode_hex(&self) -> bool
pub fn is_decode_hex(&self) -> bool
Returns true if this is a DBError::DecodeHex, otherwise false
Sourcepub fn as_decode_hex_mut(&mut self) -> Option<&mut FromHexError>
pub fn as_decode_hex_mut(&mut self) -> Option<&mut FromHexError>
Optionally returns mutable references to the inner fields if this is a DBError::DecodeHex, otherwise None
Sourcepub fn as_decode_hex(&self) -> Option<&FromHexError>
pub fn as_decode_hex(&self) -> Option<&FromHexError>
Optionally returns references to the inner fields if this is a DBError::DecodeHex, otherwise None
Sourcepub fn into_decode_hex(self) -> Result<FromHexError, Self>
pub fn into_decode_hex(self) -> Result<FromHexError, Self>
Returns the inner fields if this is a DBError::DecodeHex, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_database(&self) -> bool
pub fn is_database(&self) -> bool
Returns true if this is a DBError::Database, otherwise false
Sourcepub fn as_database_mut(&mut self) -> Option<&mut DatabaseError>
pub fn as_database_mut(&mut self) -> Option<&mut DatabaseError>
Optionally returns mutable references to the inner fields if this is a DBError::Database, otherwise None
Sourcepub fn as_database(&self) -> Option<&DatabaseError>
pub fn as_database(&self) -> Option<&DatabaseError>
Optionally returns references to the inner fields if this is a DBError::Database, otherwise None
Sourcepub fn into_database(self) -> Result<DatabaseError, Self>
pub fn into_database(self) -> Result<DatabaseError, Self>
Returns the inner fields if this is a DBError::Database, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_sled_db_error(&self) -> bool
pub fn is_sled_db_error(&self) -> bool
Returns true if this is a DBError::SledDbError, otherwise false
Sourcepub fn as_sled_db_error_mut(&mut self) -> Option<&mut Error>
pub fn as_sled_db_error_mut(&mut self) -> Option<&mut Error>
Optionally returns mutable references to the inner fields if this is a DBError::SledDbError, otherwise None
Sourcepub fn as_sled_db_error(&self) -> Option<&Error>
pub fn as_sled_db_error(&self) -> Option<&Error>
Optionally returns references to the inner fields if this is a DBError::SledDbError, otherwise None
Sourcepub fn into_sled_db_error(self) -> Result<Error, Self>
pub fn into_sled_db_error(self) -> Result<Error, Self>
Returns the inner fields if this is a DBError::SledDbError, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_message_log_poisoned(&self) -> bool
pub fn is_message_log_poisoned(&self) -> bool
Returns true if this is a DBError::MessageLogPoisoned, otherwise false
Sourcepub fn as_message_log_poisoned_mut(&mut self) -> Option<&mut String>
pub fn as_message_log_poisoned_mut(&mut self) -> Option<&mut String>
Optionally returns mutable references to the inner fields if this is a DBError::MessageLogPoisoned, otherwise None
Sourcepub fn as_message_log_poisoned(&self) -> Option<&String>
pub fn as_message_log_poisoned(&self) -> Option<&String>
Optionally returns references to the inner fields if this is a DBError::MessageLogPoisoned, otherwise None
Sourcepub fn into_message_log_poisoned(self) -> Result<String, Self>
pub fn into_message_log_poisoned(self) -> Result<String, Self>
Returns the inner fields if this is a DBError::MessageLogPoisoned, otherwise returns back the enum in the Err case of the result
Sourcepub fn as_vm_mut(&mut self) -> Option<&mut ErrorVm>
pub fn as_vm_mut(&mut self) -> Option<&mut ErrorVm>
Optionally returns mutable references to the inner fields if this is a DBError::Vm, otherwise None
Sourcepub fn as_vm(&self) -> Option<&ErrorVm>
pub fn as_vm(&self) -> Option<&ErrorVm>
Optionally returns references to the inner fields if this is a DBError::Vm, otherwise None
Sourcepub fn into_vm(self) -> Result<ErrorVm, Self>
pub fn into_vm(self) -> Result<ErrorVm, Self>
Returns the inner fields if this is a DBError::Vm, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_vm_user(&self) -> bool
pub fn is_vm_user(&self) -> bool
Returns true if this is a DBError::VmUser, otherwise false
Sourcepub fn as_vm_user_mut(&mut self) -> Option<&mut ErrorLang>
pub fn as_vm_user_mut(&mut self) -> Option<&mut ErrorLang>
Optionally returns mutable references to the inner fields if this is a DBError::VmUser, otherwise None
Sourcepub fn as_vm_user(&self) -> Option<&ErrorLang>
pub fn as_vm_user(&self) -> Option<&ErrorLang>
Optionally returns references to the inner fields if this is a DBError::VmUser, otherwise None
Sourcepub fn into_vm_user(self) -> Result<ErrorLang, Self>
pub fn into_vm_user(self) -> Result<ErrorLang, Self>
Returns the inner fields if this is a DBError::VmUser, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_subscription(&self) -> bool
pub fn is_subscription(&self) -> bool
Returns true if this is a DBError::Subscription, otherwise false
Sourcepub fn as_subscription_mut(&mut self) -> Option<&mut SubscriptionError>
pub fn as_subscription_mut(&mut self) -> Option<&mut SubscriptionError>
Optionally returns mutable references to the inner fields if this is a DBError::Subscription, otherwise None
Sourcepub fn as_subscription(&self) -> Option<&SubscriptionError>
pub fn as_subscription(&self) -> Option<&SubscriptionError>
Optionally returns references to the inner fields if this is a DBError::Subscription, otherwise None
Sourcepub fn into_subscription(self) -> Result<SubscriptionError, Self>
pub fn into_subscription(self) -> Result<SubscriptionError, Self>
Returns the inner fields if this is a DBError::Subscription, otherwise returns back the enum in the Err case of the result
Sourcepub fn as_client_mut(&mut self) -> Option<&mut ClientError>
pub fn as_client_mut(&mut self) -> Option<&mut ClientError>
Optionally returns mutable references to the inner fields if this is a DBError::Client, otherwise None
Sourcepub fn as_client(&self) -> Option<&ClientError>
pub fn as_client(&self) -> Option<&ClientError>
Optionally returns references to the inner fields if this is a DBError::Client, otherwise None
Sourcepub fn into_client(self) -> Result<ClientError, Self>
pub fn into_client(self) -> Result<ClientError, Self>
Returns the inner fields if this is a DBError::Client, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_sql_parser(&self) -> bool
pub fn is_sql_parser(&self) -> bool
Returns true if this is a DBError::SqlParser, otherwise false
Sourcepub fn as_sql_parser_mut(&mut self) -> Option<(&mut String, &mut ParserError)>
pub fn as_sql_parser_mut(&mut self) -> Option<(&mut String, &mut ParserError)>
Optionally returns mutable references to the inner fields if this is a DBError::SqlParser, otherwise None
Sourcepub fn as_sql_parser(&self) -> Option<(&String, &ParserError)>
pub fn as_sql_parser(&self) -> Option<(&String, &ParserError)>
Optionally returns references to the inner fields if this is a DBError::SqlParser, otherwise None
Sourcepub fn into_sql_parser(self) -> Result<(String, ParserError), Self>
pub fn into_sql_parser(self) -> Result<(String, ParserError), Self>
Returns the inner fields if this is a DBError::SqlParser, otherwise returns back the enum in the Err case of the result
Sourcepub fn as_plan_mut(&mut self) -> Option<(&mut String, &mut PlanError)>
pub fn as_plan_mut(&mut self) -> Option<(&mut String, &mut PlanError)>
Optionally returns mutable references to the inner fields if this is a DBError::Plan, otherwise None
Sourcepub fn as_plan(&self) -> Option<(&String, &PlanError)>
pub fn as_plan(&self) -> Option<(&String, &PlanError)>
Optionally returns references to the inner fields if this is a DBError::Plan, otherwise None
Sourcepub fn into_plan(self) -> Result<(String, PlanError), Self>
pub fn into_plan(self) -> Result<(String, PlanError), Self>
Returns the inner fields if this is a DBError::Plan, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_log_replay(&self) -> bool
pub fn is_log_replay(&self) -> bool
Returns true if this is a DBError::LogReplay, otherwise false
Sourcepub fn as_log_replay_mut(&mut self) -> Option<&mut LogReplayError>
pub fn as_log_replay_mut(&mut self) -> Option<&mut LogReplayError>
Optionally returns mutable references to the inner fields if this is a DBError::LogReplay, otherwise None
Sourcepub fn as_log_replay(&self) -> Option<&LogReplayError>
pub fn as_log_replay(&self) -> Option<&LogReplayError>
Optionally returns references to the inner fields if this is a DBError::LogReplay, otherwise None
Sourcepub fn into_log_replay(self) -> Result<LogReplayError, Self>
pub fn into_log_replay(self) -> Result<LogReplayError, Self>
Returns the inner fields if this is a DBError::LogReplay, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_snapshot(&self) -> bool
pub fn is_snapshot(&self) -> bool
Returns true if this is a DBError::Snapshot, otherwise false
Sourcepub fn as_snapshot_mut(&mut self) -> Option<&mut Box<SnapshotError>>
pub fn as_snapshot_mut(&mut self) -> Option<&mut Box<SnapshotError>>
Optionally returns mutable references to the inner fields if this is a DBError::Snapshot, otherwise None
Sourcepub fn as_snapshot(&self) -> Option<&Box<SnapshotError>>
pub fn as_snapshot(&self) -> Option<&Box<SnapshotError>>
Optionally returns references to the inner fields if this is a DBError::Snapshot, otherwise None
Sourcepub fn into_snapshot(self) -> Result<Box<SnapshotError>, Self>
pub fn into_snapshot(self) -> Result<Box<SnapshotError>, Self>
Returns the inner fields if this is a DBError::Snapshot, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_read_via_bsatn_error(&self) -> bool
pub fn is_read_via_bsatn_error(&self) -> bool
Returns true if this is a DBError::ReadViaBsatnError, otherwise false
Sourcepub fn as_read_via_bsatn_error_mut(&mut self) -> Option<&mut ReadViaBsatnError>
pub fn as_read_via_bsatn_error_mut(&mut self) -> Option<&mut ReadViaBsatnError>
Optionally returns mutable references to the inner fields if this is a DBError::ReadViaBsatnError, otherwise None
Sourcepub fn as_read_via_bsatn_error(&self) -> Option<&ReadViaBsatnError>
pub fn as_read_via_bsatn_error(&self) -> Option<&ReadViaBsatnError>
Optionally returns references to the inner fields if this is a DBError::ReadViaBsatnError, otherwise None
Sourcepub fn into_read_via_bsatn_error(self) -> Result<ReadViaBsatnError, Self>
pub fn into_read_via_bsatn_error(self) -> Result<ReadViaBsatnError, Self>
Returns the inner fields if this is a DBError::ReadViaBsatnError, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_module_validation_errors(&self) -> bool
pub fn is_module_validation_errors(&self) -> bool
Returns true if this is a DBError::ModuleValidationErrors, otherwise false
Sourcepub fn as_module_validation_errors_mut(
&mut self,
) -> Option<&mut ValidationErrors>
pub fn as_module_validation_errors_mut( &mut self, ) -> Option<&mut ValidationErrors>
Optionally returns mutable references to the inner fields if this is a DBError::ModuleValidationErrors, otherwise None
Sourcepub fn as_module_validation_errors(&self) -> Option<&ValidationErrors>
pub fn as_module_validation_errors(&self) -> Option<&ValidationErrors>
Optionally returns references to the inner fields if this is a DBError::ModuleValidationErrors, otherwise None
Sourcepub fn into_module_validation_errors(self) -> Result<ValidationErrors, Self>
pub fn into_module_validation_errors(self) -> Result<ValidationErrors, Self>
Returns the inner fields if this is a DBError::ModuleValidationErrors, otherwise returns back the enum in the Err case of the result
Sourcepub fn as_other_mut(&mut self) -> Option<&mut Error>
pub fn as_other_mut(&mut self) -> Option<&mut Error>
Optionally returns mutable references to the inner fields if this is a DBError::Other, otherwise None
Sourcepub fn as_other(&self) -> Option<&Error>
pub fn as_other(&self) -> Option<&Error>
Optionally returns references to the inner fields if this is a DBError::Other, otherwise None
Sourcepub fn into_other(self) -> Result<Error, Self>
pub fn into_other(self) -> Result<Error, Self>
Returns the inner fields if this is a DBError::Other, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_type_error(&self) -> bool
pub fn is_type_error(&self) -> bool
Returns true if this is a DBError::TypeError, otherwise false
Sourcepub fn as_type_error_mut(&mut self) -> Option<&mut TypingError>
pub fn as_type_error_mut(&mut self) -> Option<&mut TypingError>
Optionally returns mutable references to the inner fields if this is a DBError::TypeError, otherwise None
Sourcepub fn as_type_error(&self) -> Option<&TypingError>
pub fn as_type_error(&self) -> Option<&TypingError>
Optionally returns references to the inner fields if this is a DBError::TypeError, otherwise None
Sourcepub fn into_type_error(self) -> Result<TypingError, Self>
pub fn into_type_error(self) -> Result<TypingError, Self>
Returns the inner fields if this is a DBError::TypeError, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_with_sql(&self) -> bool
pub fn is_with_sql(&self) -> bool
Returns true if this is a DBError::WithSql, otherwise false
Sourcepub fn as_with_sql_mut(&mut self) -> Option<(&mut Box<DBError>, &mut Box<str>)>
pub fn as_with_sql_mut(&mut self) -> Option<(&mut Box<DBError>, &mut Box<str>)>
Optionally returns mutable references to the inner fields if this is a DBError::WithSql, otherwise None
Sourcepub fn as_with_sql(&self) -> Option<(&Box<DBError>, &Box<str>)>
pub fn as_with_sql(&self) -> Option<(&Box<DBError>, &Box<str>)>
Optionally returns references to the inner fields if this is a DBError::WithSql, otherwise None
Sourcepub fn into_with_sql(self) -> Result<(Box<DBError>, Box<str>), Self>
pub fn into_with_sql(self) -> Result<(Box<DBError>, Box<str>), Self>
Returns the inner fields if this is a DBError::WithSql, otherwise returns back the enum in the Err case of the result
Sourcepub fn is_restore_snapshot(&self) -> bool
pub fn is_restore_snapshot(&self) -> bool
Returns true if this is a DBError::RestoreSnapshot, otherwise false
Sourcepub fn as_restore_snapshot_mut(&mut self) -> Option<&mut RestoreSnapshotError>
pub fn as_restore_snapshot_mut(&mut self) -> Option<&mut RestoreSnapshotError>
Optionally returns mutable references to the inner fields if this is a DBError::RestoreSnapshot, otherwise None
Sourcepub fn as_restore_snapshot(&self) -> Option<&RestoreSnapshotError>
pub fn as_restore_snapshot(&self) -> Option<&RestoreSnapshotError>
Optionally returns references to the inner fields if this is a DBError::RestoreSnapshot, otherwise None
Sourcepub fn into_restore_snapshot(self) -> Result<RestoreSnapshotError, Self>
pub fn into_restore_snapshot(self) -> Result<RestoreSnapshotError, Self>
Returns the inner fields if this is a DBError::RestoreSnapshot, otherwise returns back the enum in the Err case of the result
Trait Implementations§
Source§impl Error for DBError
impl Error for DBError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<Box<SnapshotError>> for DBError
impl From<Box<SnapshotError>> for DBError
Source§fn from(source: Box<SnapshotError>) -> Self
fn from(source: Box<SnapshotError>) -> Self
Source§impl From<ClientError> for DBError
impl From<ClientError> for DBError
Source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Source§impl From<DBError> for ClientConnectedError
impl From<DBError> for ClientConnectedError
Source§impl From<DBError> for NodesError
impl From<DBError> for NodesError
Source§impl From<DatabaseError> for DBError
impl From<DatabaseError> for DBError
Source§fn from(source: DatabaseError) -> Self
fn from(source: DatabaseError) -> Self
Source§impl From<DatastoreError> for DBError
impl From<DatastoreError> for DBError
Source§fn from(source: DatastoreError) -> Self
fn from(source: DatastoreError) -> Self
Source§impl From<DecodeError> for DBError
impl From<DecodeError> for DBError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Source§impl From<ErrorStream<ValidationError>> for DBError
impl From<ErrorStream<ValidationError>> for DBError
Source§fn from(source: ValidationErrors) -> Self
fn from(source: ValidationErrors) -> Self
Source§impl From<FromHexError> for DBError
impl From<FromHexError> for DBError
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Source§impl From<InvalidFieldError> for DBError
impl From<InvalidFieldError> for DBError
Source§fn from(value: InvalidFieldError) -> Self
fn from(value: InvalidFieldError) -> Self
Source§impl From<LogReplayError> for DBError
impl From<LogReplayError> for DBError
Source§fn from(source: LogReplayError) -> Self
fn from(source: LogReplayError) -> Self
Source§impl From<ParseIntError> for DBError
impl From<ParseIntError> for DBError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Source§impl<'a, T: ?Sized + 'a> From<PoisonError<MutexGuard<'a, T>>> for DBError
impl<'a, T: ?Sized + 'a> From<PoisonError<MutexGuard<'a, T>>> for DBError
Source§fn from(err: PoisonError<MutexGuard<'_, T>>) -> Self
fn from(err: PoisonError<MutexGuard<'_, T>>) -> Self
Source§impl From<ReadViaBsatnError> for DBError
impl From<ReadViaBsatnError> for DBError
Source§fn from(source: ReadViaBsatnError) -> Self
fn from(source: ReadViaBsatnError) -> Self
Source§impl From<RestoreSnapshotError> for DBError
impl From<RestoreSnapshotError> for DBError
Source§fn from(source: RestoreSnapshotError) -> Self
fn from(source: RestoreSnapshotError) -> Self
Source§impl From<SequenceError> for DBError
impl From<SequenceError> for DBError
Source§fn from(source: SequenceError) -> Self
fn from(source: SequenceError) -> Self
Source§impl From<SubscriptionError> for DBError
impl From<SubscriptionError> for DBError
Source§fn from(source: SubscriptionError) -> Self
fn from(source: SubscriptionError) -> Self
Source§impl From<TypingError> for DBError
impl From<TypingError> for DBError
Source§fn from(source: TypingError) -> Self
fn from(source: TypingError) -> Self
Auto Trait Implementations§
impl Freeze for DBError
impl !RefUnwindSafe for DBError
impl Send for DBError
impl Sync for DBError
impl Unpin for DBError
impl !UnwindSafe for DBError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoAnyhow for T
impl<T> IntoAnyhow for T
Source§fn into_anyhow(self) -> Error
fn into_anyhow(self) -> Error
self into an anyhow::Error.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more