#[non_exhaustive]pub enum Authority {
Live,
Rebuilding,
}Expand description
What a commit claims about the rows it leaves behind.
Taken by value at commit so the claim is made at
write time and checkpoint can report it
without inferring it. A rebuild in place therefore cannot be spelled as an
ordinary commit.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Live
The rows this commit leaves behind are authoritative.
Rebuilding
A rebuild is in flight; the rows are not yet authoritative.
Trait Implementations§
impl Copy for Authority
impl Eq for Authority
impl StructuralPartialEq for Authority
Auto Trait Implementations§
impl Freeze for Authority
impl RefUnwindSafe for Authority
impl Send for Authority
impl Sync for Authority
impl Unpin for Authority
impl UnsafeUnpin for Authority
impl UnwindSafe for Authority
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