pub enum Prepared {
Ready(Option<Migration>),
Newer(NewerData),
}Expand description
What prepare found.
Variants§
Ready(Option<Migration>)
The folder can be used; Some when files were migrated first.
Newer(NewerData)
A newer Surjection wrote this file; nothing was written.
Implementations§
Source§impl Prepared
impl Prepared
Sourcepub fn into_result(
self,
home: &SurjectionHome,
) -> Result<Option<Migration>, CoreError>
pub fn into_result( self, home: &SurjectionHome, ) -> Result<Option<Migration>, CoreError>
Prepared::Newer as its unsupported_schema error.
Trait Implementations§
impl Eq for Prepared
impl StructuralPartialEq for Prepared
Auto Trait Implementations§
impl Forget for Prepared
impl Freeze for Prepared
impl Move for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Preparedwhere
RawVecInner: Sync,
impl Unpin for Prepared
impl UnsafeUnpin for Preparedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Migrated>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
impl UnwindSafe for Prepared
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.