pub enum TrackingError {
Install {
message: String,
},
Read {
message: String,
},
Record {
id: String,
message: String,
},
Unrecord {
id: String,
message: String,
},
Unavailable {
message: String,
},
}Expand description
Errors returned by a caller-owned migration tracking store.
Variants§
Install
Installing tracking storage failed.
Read
Reading applied migration state failed.
Record
Recording one applied migration failed.
Unrecord
Removing one applied migration record failed.
The tracking backend is unavailable.
Implementations§
Source§impl TrackingError
impl TrackingError
Creates an unavailable-tracking failure when a narrower category is not known.
Trait Implementations§
Source§impl Debug for TrackingError
impl Debug for TrackingError
Source§impl Display for TrackingError
impl Display for TrackingError
Source§impl Error for TrackingError
impl Error for TrackingError
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 From<TrackingError> for EngineError
impl From<TrackingError> for EngineError
Source§fn from(source: TrackingError) -> Self
fn from(source: TrackingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for TrackingError
impl Freeze for TrackingError
impl Move for TrackingError
impl RefUnwindSafe for TrackingError
impl Send for TrackingError
impl Sync for TrackingError
impl Unpin for TrackingError
impl UnsafeUnpin for TrackingError
impl UnwindSafe for TrackingError
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