pub enum Alignment {
Aligned,
BinaryNewer,
TargetNewer,
}Expand description
How a record’s rk_version stands against this binary’s.
Variants§
Aligned
The landing came from this binary’s version.
BinaryNewer
The binary is newer; rk upgrade takes the target forward.
TargetNewer
The landing came from a newer rk than this one, which an upgrade
refuses rather than downgrading.
Implementations§
Trait Implementations§
impl Copy for Alignment
impl Eq for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin for Alignment
impl UnwindSafe for Alignment
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