pub struct GroupAccessScope { /* private fields */ }Expand description
Subscriber-side group access (Spec §2.2.2.5.2.8/9).
When Presentation.access_scope = GROUP and coherent_access is
active, the subscriber MUST guarantee the atomic view across all
DataReaders in the subscriber between begin_access and
end_access.
Group-access scope with snapshot atomicity: each begin_access
increments the snapshot_generation counter; all DataReaders in
the subscriber that are read between begin and end see the SAME
generation and therefore, per spec, an atomic cut across all
topics.
Implementations§
Source§impl GroupAccessScope
impl GroupAccessScope
Sourcepub fn current_snapshot(&self) -> u64
pub fn current_snapshot(&self) -> u64
Current snapshot generation (see struct docs). 0 means “no snapshot ever opened”.
Trait Implementations§
Source§impl Debug for GroupAccessScope
impl Debug for GroupAccessScope
Source§impl Default for GroupAccessScope
impl Default for GroupAccessScope
Source§fn default() -> GroupAccessScope
fn default() -> GroupAccessScope
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for GroupAccessScope
impl RefUnwindSafe for GroupAccessScope
impl Send for GroupAccessScope
impl Sync for GroupAccessScope
impl Unpin for GroupAccessScope
impl UnsafeUnpin for GroupAccessScope
impl UnwindSafe for GroupAccessScope
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