pub trait ConventionMarker:
'static
+ Sized
+ Clone
+ Debug
+ Eq
+ PartialEq
+ Hash {
type Extra: 'static + Eq + Hash + Clone + Debug;
type ShareNode: ShareNode<Self>;
type PlanRefDyn: PlanNodeCommon<Self> + Eq + Hash + ?Sized;
type PlanNodeType;
// Required method
fn as_share(plan: &Self::PlanRefDyn) -> Option<&Self::ShareNode>;
}
Expand description
Required Associated Types§
Sourcetype Extra: 'static + Eq + Hash + Clone + Debug
type Extra: 'static + Eq + Hash + Clone + Debug
The extra fields in the PlanBase
of this convention.
type PlanRefDyn: PlanNodeCommon<Self> + Eq + Hash + ?Sized
type PlanNodeType
Required Methods§
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.