pub enum VersionCheck {
UpToDate,
NeedsMigration {
from: u32,
to: u32,
},
CodeBehind {
graph_version: u32,
code_version: u32,
},
}Expand description
Result of a schema version check.
Variants§
UpToDate
Graph is at the expected version.
NeedsMigration
Graph needs migration from from to to.
CodeBehind
Graph is ahead of this code (opened by newer code previously).
Trait Implementations§
Source§impl Debug for VersionCheck
impl Debug for VersionCheck
Source§impl PartialEq for VersionCheck
impl PartialEq for VersionCheck
Source§fn eq(&self, other: &VersionCheck) -> bool
fn eq(&self, other: &VersionCheck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VersionCheck
Auto Trait Implementations§
impl Freeze for VersionCheck
impl RefUnwindSafe for VersionCheck
impl Send for VersionCheck
impl Sync for VersionCheck
impl Unpin for VersionCheck
impl UnsafeUnpin for VersionCheck
impl UnwindSafe for VersionCheck
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