pub trait SyncExpressionBoxExtwhere
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§
Sourcefn boxed(self) -> BoxedExpression
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".