pub trait BufferPoolExtManual:
Sealed
+ IsA<BufferPool>
+ 'static {
// Provided methods
fn config(&self) -> BufferPoolConfig { ... }
fn set_config(&self, config: BufferPoolConfig) -> Result<(), BoolError> { ... }
fn is_flushing(&self) -> bool { ... }
fn acquire_buffer(
&self,
params: Option<&BufferPoolAcquireParams>,
) -> Result<Buffer, FlowError> { ... }
}
Provided Methods§
fn config(&self) -> BufferPoolConfig
fn set_config(&self, config: BufferPoolConfig) -> Result<(), BoolError>
fn is_flushing(&self) -> bool
fn acquire_buffer( &self, params: Option<&BufferPoolAcquireParams>, ) -> Result<Buffer, FlowError>
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.