pub struct TurnBoundaryRefresh {
pub merged: usize,
pub committed_messages: Vec<Message>,
pub admission_error: Option<String>,
pub disk_permission_mode: Option<SessionPermissionMode>,
}Expand description
Result of a turn-boundary disk refresh: how many injected messages were
merged, which newly appended messages have a durable transcript checkpoint,
and the live per-session permission mode as it stands on disk (the
authoritative writer is PATCH /sessions).
Fields§
§merged: usize§committed_messages: Vec<Message>Newly appended messages whose transcript checkpoint completed at this boundary. Callers may publish these only after this function returns; recovery of an already-committed message is intentionally excluded.
admission_error: Option<String>An unresolved ACK stops this activation even if its transcript and permanent receipt are already durable. Neither is proof that ACK returned successfully; the next safe boundary can retry existing recovery.
disk_permission_mode: Option<SessionPermissionMode>None when there was no storage / no on-disk session to read.
Trait Implementations§
Source§impl Clone for TurnBoundaryRefresh
impl Clone for TurnBoundaryRefresh
Source§impl Debug for TurnBoundaryRefresh
impl Debug for TurnBoundaryRefresh
Auto Trait Implementations§
impl Freeze for TurnBoundaryRefresh
impl RefUnwindSafe for TurnBoundaryRefresh
impl Send for TurnBoundaryRefresh
impl Sync for TurnBoundaryRefresh
impl Unpin for TurnBoundaryRefresh
impl UnsafeUnpin for TurnBoundaryRefresh
impl UnwindSafe for TurnBoundaryRefresh
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