pub struct ReadOptions<V>where
V: Identities,{ /* private fields */ }Expand description
The advanced parameters of a read. Reads take no part in durability, so a gate is their only option.
Implementations§
Source§impl<V> ReadOptions<V>where
V: Identities,
impl<V> ReadOptions<V>where
V: Identities,
Sourcepub fn new() -> ReadOptions<V>
pub fn new() -> ReadOptions<V>
No gate.
Sourcepub fn gate(self, epoch: Epoch<V>) -> ReadOptions<V>
pub fn gate(self, epoch: Epoch<V>) -> ReadOptions<V>
Hold the read until epoch is durable; it ends as NeverIssued if epoch is abandoned
first. A read takes no part in durability, so it can be on no cycle.
Trait Implementations§
Source§impl<V> Clone for ReadOptions<V>where
V: Clone + Identities,
impl<V> Clone for ReadOptions<V>where
V: Clone + Identities,
Source§fn clone(&self) -> ReadOptions<V>
fn clone(&self) -> ReadOptions<V>
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 moreimpl<V> Copy for ReadOptions<V>where
V: Copy + Identities,
Source§impl<V> Debug for ReadOptions<V>where
V: Debug + Identities,
impl<V> Debug for ReadOptions<V>where
V: Debug + Identities,
Source§impl<V> Default for ReadOptions<V>where
V: Identities,
impl<V> Default for ReadOptions<V>where
V: Identities,
Source§fn default() -> ReadOptions<V>
fn default() -> ReadOptions<V>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<V> Freeze for ReadOptions<V>
impl<V> RefUnwindSafe for ReadOptions<V>
impl<V> Send for ReadOptions<V>
impl<V> Sync for ReadOptions<V>
impl<V> Unpin for ReadOptions<V>
impl<V> UnsafeUnpin for ReadOptions<V>
impl<V> UnwindSafe for ReadOptions<V>
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