Struct GroupOrderError
#[non_exhaustive]pub struct GroupOrderError {
pub first: SequencePosition,
pub after: SequencePosition,
}Expand description
A GroupPageBuilder was offered a row out of group order: one naming the
group first, after the group after had been offered and left, where
first is not above after.
It is the store’s read that is wrong, not the log: a store that does not
serialise its writers has to read in group order, not position order. The
same read fails the same way again, so it is
Stop.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.first: SequencePositionThe group the refused row named.
after: SequencePositionThe group already offered and left, at or above first.
Trait Implementations§
§impl Classify for GroupOrderError
impl Classify for GroupOrderError
§fn class(&self) -> FailureClass
fn class(&self) -> FailureClass
The remedy this failure calls for.
§impl Clone for GroupOrderError
impl Clone for GroupOrderError
impl Copy for GroupOrderError
§impl Debug for GroupOrderError
impl Debug for GroupOrderError
§impl Display for GroupOrderError
impl Display for GroupOrderError
impl Eq for GroupOrderError
§impl Error for GroupOrderError
impl Error for GroupOrderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
§impl PartialEq for GroupOrderError
impl PartialEq for GroupOrderError
impl StructuralPartialEq for GroupOrderError
Auto Trait Implementations§
impl Freeze for GroupOrderError
impl RefUnwindSafe for GroupOrderError
impl Send for GroupOrderError
impl Sync for GroupOrderError
impl Unpin for GroupOrderError
impl UnsafeUnpin for GroupOrderError
impl UnwindSafe for GroupOrderError
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