#[repr(u8)]pub enum CompatImpact {
None = 0,
Append = 1,
Migration = 2,
Breaking = 3,
}Expand description
Compatibility impact class of the mutation carried by this receipt.
Mirrors hopper-core::receipt::CompatImpact.
Variants§
None = 0
No wire-level change; readers at the prior layout still work.
Append = 1
Append-only change; readers ignoring new fields still work.
Migration = 2
Full migration required.
Breaking = 3
Breaking change.
Implementations§
Trait Implementations§
Source§impl Clone for CompatImpact
impl Clone for CompatImpact
Source§fn clone(&self) -> CompatImpact
fn clone(&self) -> CompatImpact
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 CompatImpact
impl Debug for CompatImpact
Source§impl PartialEq for CompatImpact
impl PartialEq for CompatImpact
Source§fn eq(&self, other: &CompatImpact) -> bool
fn eq(&self, other: &CompatImpact) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompatImpact
impl Eq for CompatImpact
impl StructuralPartialEq for CompatImpact
Auto Trait Implementations§
impl Freeze for CompatImpact
impl RefUnwindSafe for CompatImpact
impl Send for CompatImpact
impl Sync for CompatImpact
impl Unpin for CompatImpact
impl UnsafeUnpin for CompatImpact
impl UnwindSafe for CompatImpact
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