pub trait SharedArrayExt: TypedArrayRef<Shared> {
// Provided methods
fn source(&self) -> &ArrayRef { ... }
fn current_array_ref(&self) -> &ArrayRef { ... }
fn get_or_compute(
&self,
f: impl FnOnce(&ArrayRef) -> VortexResult<Canonical>,
) -> VortexResult<ArrayRef> { ... }
async fn get_or_compute_async<F, Fut>(&self, f: F) -> VortexResult<ArrayRef>
where F: FnOnce(ArrayRef) -> Fut,
Fut: Future<Output = VortexResult<Canonical>> { ... }
}Provided Methods§
fn source(&self) -> &ArrayRef
fn current_array_ref(&self) -> &ArrayRef
fn get_or_compute( &self, f: impl FnOnce(&ArrayRef) -> VortexResult<Canonical>, ) -> VortexResult<ArrayRef>
async fn get_or_compute_async<F, Fut>(&self, f: F) -> VortexResult<ArrayRef>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.