pub struct WindowState {
pub units: Vec<String>,
pub pending: Vec<String>,
}Expand description
§4.8 completeness oracle (I3): the windowed-in units for a base, plus
the subset whose bootstrap has not yet completed. Registration alone is
not completeness — a pending unit’s local replica may be empty or
partial (its subscription still has cursor: -1 or holds a resume
token), and MUST NOT be rendered as complete. A unit with zero server
rows still completes once its bootstrap round finishes.
Fields§
§units: Vec<String>Windowed-in units for this base, ordered by value.
pending: Vec<String>Registered units whose bootstrap has not yet completed.
Implementations§
Trait Implementations§
Source§impl Clone for WindowState
impl Clone for WindowState
Source§fn clone(&self) -> WindowState
fn clone(&self) -> WindowState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowState
impl Debug for WindowState
Source§impl Default for WindowState
impl Default for WindowState
Source§fn default() -> WindowState
fn default() -> WindowState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowState
impl RefUnwindSafe for WindowState
impl Send for WindowState
impl Sync for WindowState
impl Unpin for WindowState
impl UnsafeUnpin for WindowState
impl UnwindSafe for WindowState
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