pub struct DPccp<'g> { /* private fields */ }Expand description
DPccp join-order optimiser. Public so callers that need the
cancellation-friendly stages (optimize, find_connected_components)
can drive them directly.
Implementations§
Source§impl<'g> DPccp<'g>
impl<'g> DPccp<'g>
pub fn new(graph: &'g JoinGraph) -> Self
pub fn with_cost_estimator( graph: &'g JoinGraph, cost_estimator: CostEstimator, ) -> Self
Auto Trait Implementations§
impl<'g> Freeze for DPccp<'g>
impl<'g> RefUnwindSafe for DPccp<'g>
impl<'g> Send for DPccp<'g>
impl<'g> Sync for DPccp<'g>
impl<'g> Unpin for DPccp<'g>
impl<'g> UnsafeUnpin for DPccp<'g>
impl<'g> UnwindSafe for DPccp<'g>
Blanket Implementations§
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more