pub enum MigrationRejection {
UnsupportedFutureVersion {
found: u64,
supported: u32,
},
ForbiddenRuntimePolicyKey {
key: String,
},
Malformed {
error: String,
},
}Expand description
Why a constitution file could not be migrated.
Variants§
UnsupportedFutureVersion
Written by a newer Codewhale. Refused rather than downgraded, so its content cannot be silently dropped.
ForbiddenRuntimePolicyKey
The file carries a runtime-authority key the constitution may not hold.
Malformed
Unreadable or not a constitution.
Implementations§
Trait Implementations§
Source§impl Clone for MigrationRejection
impl Clone for MigrationRejection
Source§fn clone(&self) -> MigrationRejection
fn clone(&self) -> MigrationRejection
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 moreSource§impl Debug for MigrationRejection
impl Debug for MigrationRejection
impl Eq for MigrationRejection
Source§impl PartialEq for MigrationRejection
impl PartialEq for MigrationRejection
impl StructuralPartialEq for MigrationRejection
Auto Trait Implementations§
impl Freeze for MigrationRejection
impl RefUnwindSafe for MigrationRejection
impl Send for MigrationRejection
impl Sync for MigrationRejection
impl Unpin for MigrationRejection
impl UnsafeUnpin for MigrationRejection
impl UnwindSafe for MigrationRejection
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.