pub trait ExtensionPlanningConfig:
Any
+ Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn family_id(&self) -> &'static str;
fn as_any(&self) -> &dyn Any;
fn payload_hash(&self, state: &mut dyn Hasher);
fn payload_eq(&self, other: &dyn ExtensionPlanningConfig) -> bool;
fn retained_bytes(&self) -> usize;
}Expand description
Snapshot-retained extension planning configuration.
The family id follows the existing extension &'static str contract used by
ExtensionOp::family_id.
Required Methods§
Sourcefn family_id(&self) -> &'static str
fn family_id(&self) -> &'static str
Return the extension family id this configuration belongs to.
Sourcefn payload_hash(&self, state: &mut dyn Hasher)
fn payload_hash(&self, state: &mut dyn Hasher)
Hash only the family-specific payload.
Sourcefn payload_eq(&self, other: &dyn ExtensionPlanningConfig) -> bool
fn payload_eq(&self, other: &dyn ExtensionPlanningConfig) -> bool
Compare only the family-specific payload.
Sourcefn retained_bytes(&self) -> usize
fn retained_bytes(&self) -> usize
Return logical retained bytes owned by this config.