pub struct SessionView { /* private fields */ }Expand description
Read-only projection of a session at an immutable historical point.
Implementations§
Source§impl SessionView
impl SessionView
Sourcepub fn point(&self) -> SessionPoint
pub fn point(&self) -> SessionPoint
Exact event position this view includes.
Sourcepub fn events(&self) -> &[Event]
pub fn events(&self) -> &[Event]
Durable events through Self::point, in sequence order.
Trait Implementations§
Source§impl Clone for SessionView
impl Clone for SessionView
Auto Trait Implementations§
impl Freeze for SessionView
impl RefUnwindSafe for SessionView
impl Send for SessionView
impl Sync for SessionView
impl Unpin for SessionView
impl UnsafeUnpin for SessionView
impl UnwindSafe for SessionView
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