Trait diesel::query_builder::MoveableBindCollector
source · pub trait MoveableBindCollector<DB: TypeMetadata> {
type BindData: Send + 'static;
// Required methods
fn moveable(&self) -> Self::BindData;
fn append_bind_data(&mut self, from: &Self::BindData);
}
Expand description
A movable version of the bind collector which allows it to be extracted, moved and refilled.
This is mostly useful in async context where bind data needs to be moved across threads.
Required Associated Types§
Required Methods§
sourcefn append_bind_data(&mut self, from: &Self::BindData)
fn append_bind_data(&mut self, from: &Self::BindData)
Refill the bind collector with its bind data