referrerpolicy=no-referrer-when-downgrade

Trait pallet_migrations::MockedMigrations

source ·
pub trait MockedMigrations: SteppedMigrations {
    // Required methods
    fn set_fail_after(n: u32);
    fn set_success_after(n: u32);
}
Expand description

Trait for a tuple of No-OP migrations with one element.

Required Methods§

source

fn set_fail_after(n: u32)

The migration should fail after n steps.

source

fn set_success_after(n: u32)

The migration should succeed after n steps.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MockedMigrations for ()
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations> MockedMigrations for (TupleElement0,)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations, TupleElement22: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations, TupleElement22: MockedMigrations, TupleElement23: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations, TupleElement22: MockedMigrations, TupleElement23: MockedMigrations, TupleElement24: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations, TupleElement22: MockedMigrations, TupleElement23: MockedMigrations, TupleElement24: MockedMigrations, TupleElement25: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations, TupleElement22: MockedMigrations, TupleElement23: MockedMigrations, TupleElement24: MockedMigrations, TupleElement25: MockedMigrations, TupleElement26: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations, TupleElement22: MockedMigrations, TupleElement23: MockedMigrations, TupleElement24: MockedMigrations, TupleElement25: MockedMigrations, TupleElement26: MockedMigrations, TupleElement27: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations, TupleElement22: MockedMigrations, TupleElement23: MockedMigrations, TupleElement24: MockedMigrations, TupleElement25: MockedMigrations, TupleElement26: MockedMigrations, TupleElement27: MockedMigrations, TupleElement28: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

source§

impl<TupleElement0: MockedMigrations, TupleElement1: MockedMigrations, TupleElement2: MockedMigrations, TupleElement3: MockedMigrations, TupleElement4: MockedMigrations, TupleElement5: MockedMigrations, TupleElement6: MockedMigrations, TupleElement7: MockedMigrations, TupleElement8: MockedMigrations, TupleElement9: MockedMigrations, TupleElement10: MockedMigrations, TupleElement11: MockedMigrations, TupleElement12: MockedMigrations, TupleElement13: MockedMigrations, TupleElement14: MockedMigrations, TupleElement15: MockedMigrations, TupleElement16: MockedMigrations, TupleElement17: MockedMigrations, TupleElement18: MockedMigrations, TupleElement19: MockedMigrations, TupleElement20: MockedMigrations, TupleElement21: MockedMigrations, TupleElement22: MockedMigrations, TupleElement23: MockedMigrations, TupleElement24: MockedMigrations, TupleElement25: MockedMigrations, TupleElement26: MockedMigrations, TupleElement27: MockedMigrations, TupleElement28: MockedMigrations, TupleElement29: MockedMigrations> MockedMigrations for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)
where u32: Clone,

source§

fn set_fail_after(n: u32)

The migration should fail after n steps.

source§

fn set_success_after(n: u32)

The migration should succeed after n steps.

Implementors§