pub struct QueryPlan<'a> {
pub map_wasm: &'a [u8],
pub reduce_wasm: &'a [u8],
pub limits: RunLimits,
}Expand description
The query: a map over each shard’s snapshot and an associative/commutative
reduce over the partials, both deployed as deterministic WASM.
Fields§
§map_wasm: &'a [u8]§reduce_wasm: &'a [u8]§limits: RunLimitsAuto Trait Implementations§
impl<'a> Forget for QueryPlan<'a>
impl<'a> Freeze for QueryPlan<'a>
impl<'a> RefUnwindSafe for QueryPlan<'a>
impl<'a> Send for QueryPlan<'a>
impl<'a> Sync for QueryPlan<'a>
impl<'a> Unpin for QueryPlan<'a>
impl<'a> UnsafeUnpin for QueryPlan<'a>
impl<'a> UnwindSafe for QueryPlan<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more