pub enum ExecutionSource {
Native,
Wasm,
}
Expand description
The source of execution for the indexer.
Variants§
Native
The indexer is being executed as a standalone binary.
Wasm
The indexer is being executed in a WASM runtime.
Implementations§
source§impl ExecutionSource
impl ExecutionSource
pub fn async_awaitness(&self) -> (TokenStream, TokenStream)
Trait Implementations§
source§impl Clone for ExecutionSource
impl Clone for ExecutionSource
source§fn clone(&self) -> ExecutionSource
fn clone(&self) -> ExecutionSource
Returns a copy of the value. Read more
1.0.0 · 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 ExecutionSource
impl Debug for ExecutionSource
source§impl Default for ExecutionSource
impl Default for ExecutionSource
source§fn default() -> ExecutionSource
fn default() -> ExecutionSource
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ExecutionSource
impl Send for ExecutionSource
impl Sync for ExecutionSource
impl Unpin for ExecutionSource
impl UnwindSafe for ExecutionSource
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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