pub struct ExecuteOptions {
pub bypass_cache: bool,
pub cache_policy: CachePolicy,
}Expand description
Per-call execution options. Phase F surfaces caching
here: callers either accept the default
TimeBound { ttl: 5s } policy or pass Permanent for
queries they know are over a closed substrate range
(At / bounded Between). Self::bypass_cache skips
both lookup and writeback for diagnostics + authoritative
reads.
Fields§
§bypass_cache: boolSkip cache lookup AND writeback. Default false.
cache_policy: CachePolicyCache policy for this query. Default
CachePolicy::TimeBound { ttl: 5s }.
Trait Implementations§
Source§impl Clone for ExecuteOptions
impl Clone for ExecuteOptions
Source§fn clone(&self) -> ExecuteOptions
fn clone(&self) -> ExecuteOptions
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 moreSource§impl Debug for ExecuteOptions
impl Debug for ExecuteOptions
Source§impl Default for ExecuteOptions
impl Default for ExecuteOptions
Source§fn default() -> ExecuteOptions
fn default() -> ExecuteOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExecuteOptions
impl PartialEq for ExecuteOptions
Source§fn eq(&self, other: &ExecuteOptions) -> bool
fn eq(&self, other: &ExecuteOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExecuteOptions
impl StructuralPartialEq for ExecuteOptions
Auto Trait Implementations§
impl Freeze for ExecuteOptions
impl RefUnwindSafe for ExecuteOptions
impl Send for ExecuteOptions
impl Sync for ExecuteOptions
impl Unpin for ExecuteOptions
impl UnsafeUnpin for ExecuteOptions
impl UnwindSafe for ExecuteOptions
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