pub enum MigrationPhase {
ClassicalOnly,
Composite,
PostQuantumOnly,
}Expand description
The post-quantum migration phase (§20 migration-declaration).
Variants§
ClassicalOnly
Classical signatures exclusively.
Composite
Composite (classical AND post-quantum) for new artifacts; classical-only remain verifiable.
PostQuantumOnly
Post-quantum exclusively; classical-only rejected.
Trait Implementations§
Source§impl Clone for MigrationPhase
impl Clone for MigrationPhase
Source§fn clone(&self) -> MigrationPhase
fn clone(&self) -> MigrationPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MigrationPhase
Source§impl Debug for MigrationPhase
impl Debug for MigrationPhase
Source§impl<'de> Deserialize<'de> for MigrationPhase
impl<'de> Deserialize<'de> for MigrationPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MigrationPhase
Source§impl PartialEq for MigrationPhase
impl PartialEq for MigrationPhase
Source§fn eq(&self, other: &MigrationPhase) -> bool
fn eq(&self, other: &MigrationPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MigrationPhase
impl Serialize for MigrationPhase
impl StructuralPartialEq for MigrationPhase
Auto Trait Implementations§
impl Freeze for MigrationPhase
impl RefUnwindSafe for MigrationPhase
impl Send for MigrationPhase
impl Sync for MigrationPhase
impl Unpin for MigrationPhase
impl UnsafeUnpin for MigrationPhase
impl UnwindSafe for MigrationPhase
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