pub enum GridRule {
FullRow,
OnePerRow,
}Expand description
How a GridQuorumSet counts the rows of its grid: a full row, or one ID of each row.
Variants§
FullRow
An accepted set holds every ID of some row.
OnePerRow
An accepted set holds at least one ID of every row. Each row can contribute an ID from a different column.
Trait Implementations§
impl Copy for GridRule
impl Eq for GridRule
impl StructuralPartialEq for GridRule
Auto Trait Implementations§
impl Forget for GridRule
impl Freeze for GridRule
impl RefUnwindSafe for GridRule
impl Send for GridRule
impl Sync for GridRule
impl Unpin for GridRule
impl UnsafeUnpin for GridRule
impl UnwindSafe for GridRule
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