pub struct WindowMeta { /* private fields */ }Implementations§
Source§impl WindowMeta
impl WindowMeta
pub fn new() -> Self
pub fn seal_ledger(&mut self, store: &mut dyn StateStore) -> Result<u64>
pub fn advance_seal_ledger( &mut self, store: &mut dyn StateStore, coord: u64, ) -> Result<()>
pub fn get_and_increment_count( &mut self, store: &mut dyn StateStore, group: GroupId, ) -> Result<u64>
pub fn lookup_row_index( &mut self, store: &mut dyn StateStore, group: GroupId, row_number: RowNumber, ) -> Result<Vec<u64>>
pub fn store_row_index( &mut self, store: &mut dyn StateStore, group: GroupId, row_number: RowNumber, window_id: u64, ) -> Result<()>
pub fn drop_row_index( &mut self, store: &mut dyn StateStore, group: GroupId, row_number: RowNumber, ) -> Result<()>
pub fn load_session( &mut self, store: &mut dyn StateStore, group: GroupId, ) -> Result<SessionTracker>
pub fn save_session( &mut self, store: &mut dyn StateStore, group: GroupId, tracker: &SessionTracker, ) -> Result<()>
pub fn rolling_meta( &mut self, store: &mut dyn StateStore, group: GroupId, ) -> Result<Option<RollingMeta>>
pub fn put_rolling_meta( &mut self, store: &mut dyn StateStore, group: GroupId, meta: RollingMeta, ) -> Result<()>
pub fn drop_rolling_meta( &mut self, store: &mut dyn StateStore, group: GroupId, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WindowMeta
impl RefUnwindSafe for WindowMeta
impl Send for WindowMeta
impl Sync for WindowMeta
impl Unpin for WindowMeta
impl UnsafeUnpin for WindowMeta
impl UnwindSafe for WindowMeta
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more