pub enum MigrationType {
TrustUpgrade,
Blockage,
}Expand description
The type of migration table: TrustUpgrade is for migrations from untrusted (level 0) 1-bridge buckets to trusted (level 1) 3-bridge buckets. Blockage is for migrations that drop you down two levels (level 3 to 1, level 4 to 2) because the bridges in your current bucket were blocked.
Variants§
Trait Implementations§
Source§impl From<MigrationType> for Scalar
impl From<MigrationType> for Scalar
Source§fn from(m: MigrationType) -> Self
fn from(m: MigrationType) -> Self
Convert a MigrationType into the Scalar value that represents it in the Migration credential
Auto Trait Implementations§
impl Freeze for MigrationType
impl RefUnwindSafe for MigrationType
impl Send for MigrationType
impl Sync for MigrationType
impl Unpin for MigrationType
impl UnsafeUnpin for MigrationType
impl UnwindSafe for MigrationType
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