Skip to main content

SyncExpressionBoxExt

Trait SyncExpressionBoxExt 

Source
pub trait SyncExpressionBoxExt
where Self: SyncExpression + 'static,
{ // Required method fn boxed(self) -> BoxedExpression; }
Expand description

Extension trait for boxing expressions.

This is not directly made into expression traits because…

  • an expression does not have to be 'static,
  • and for the ease of auto_impl.

Required Methods§

Source

fn boxed(self) -> BoxedExpression

Wrap the expression in a BoxedExpression::Sync.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§