pub enum SnapshotImageError {
Show 17 variants
Io(Error),
NoSyncedTables,
Projection(String),
Database(Box<DbError>),
Gate(GateError),
RowRoutingKey(RowRoutingKeyError),
Sqlite(Error),
RemoteObject(RemoteObjectRecordError),
BlobDecl(BlobDeclError),
RoutingContract(SyncRoutingContractError),
ProjectionSqlite {
operation: String,
source: Error,
},
ProjectionDatabase {
operation: String,
source: Box<DbError>,
},
ProjectionIo {
operation: String,
source: Error,
},
ProjectionPayloadStore {
operation: String,
source: PayloadStoreError,
},
BlobHash {
namespace: String,
id: String,
source: InvalidObjectHash,
},
Cleanup {
path: PathBuf,
cleanup: String,
},
CleanupAfterFailure {
path: PathBuf,
cleanup: String,
cause: Box<SnapshotImageError>,
},
}Variants§
Io(Error)
NoSyncedTables
Projection(String)
Database(Box<DbError>)
Gate(GateError)
RowRoutingKey(RowRoutingKeyError)
Sqlite(Error)
RemoteObject(RemoteObjectRecordError)
BlobDecl(BlobDeclError)
RoutingContract(SyncRoutingContractError)
ProjectionSqlite
ProjectionDatabase
ProjectionIo
ProjectionPayloadStore
BlobHash
Cleanup
CleanupAfterFailure
Trait Implementations§
Source§impl Debug for SnapshotImageError
impl Debug for SnapshotImageError
Source§impl Display for SnapshotImageError
impl Display for SnapshotImageError
Source§impl Error for SnapshotImageError
impl Error for SnapshotImageError
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<BlobDeclError> for SnapshotImageError
impl From<BlobDeclError> for SnapshotImageError
Source§fn from(source: BlobDeclError) -> Self
fn from(source: BlobDeclError) -> Self
Converts to this type from the input type.
Source§impl From<DbError> for SnapshotImageError
impl From<DbError> for SnapshotImageError
Source§impl From<Error> for SnapshotImageError
impl From<Error> for SnapshotImageError
Source§impl From<Error> for SnapshotImageError
impl From<Error> for SnapshotImageError
Source§impl From<GateError> for SnapshotImageError
impl From<GateError> for SnapshotImageError
Source§impl From<RemoteObjectRecordError> for SnapshotImageError
impl From<RemoteObjectRecordError> for SnapshotImageError
Source§fn from(source: RemoteObjectRecordError) -> Self
fn from(source: RemoteObjectRecordError) -> Self
Converts to this type from the input type.
Source§impl From<RowRoutingKeyError> for SnapshotImageError
impl From<RowRoutingKeyError> for SnapshotImageError
Source§fn from(source: RowRoutingKeyError) -> Self
fn from(source: RowRoutingKeyError) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotImageError> for DbError
impl From<SnapshotImageError> for DbError
Source§fn from(source: SnapshotImageError) -> Self
fn from(source: SnapshotImageError) -> Self
Converts to this type from the input type.
Source§impl From<SyncRoutingContractError> for SnapshotImageError
impl From<SyncRoutingContractError> for SnapshotImageError
Source§fn from(source: SyncRoutingContractError) -> Self
fn from(source: SyncRoutingContractError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotImageError
impl !RefUnwindSafe for SnapshotImageError
impl Send for SnapshotImageError
impl Sync for SnapshotImageError
impl Unpin for SnapshotImageError
impl UnsafeUnpin for SnapshotImageError
impl !UnwindSafe for SnapshotImageError
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