Skip to main content

Sink

Trait Sink 

Source
pub trait Sink {
    // Required method
    fn apply(&mut self, op: Op) -> Result<(), Error>;

    // Provided methods
    fn supports_flex_grow_patch(&self) -> bool { ... }
    fn set_flex_grow(&mut self, _id: NodeId, _value: f64) -> Result<(), Error> { ... }
    fn create_plan(
        &mut self,
        plan: &Plan,
        ids: &[NodeId],
        keys: &[u64],
        shape: &PlanShape,
    ) -> Result<(), Error> { ... }
}

Required Methods§

Source

fn apply(&mut self, op: Op) -> Result<(), Error>

Provided Methods§

Source

fn supports_flex_grow_patch(&self) -> bool

Opt in to updating an existing inline flex-grow declaration alone.

Source

fn set_flex_grow(&mut self, _id: NodeId, _value: f64) -> Result<(), Error>

Source

fn create_plan( &mut self, plan: &Plan, ids: &[NodeId], keys: &[u64], shape: &PlanShape, ) -> Result<(), Error>

A detached semantic construction unit. Hosts without subtree cloning expand it into their existing finite operations; stream v3 stays intact.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§