pub trait BufferPooler:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn network_buffer_pool(&self) -> &BufferPool;
fn storage_buffer_pool(&self) -> &BufferPool;
}Expand description
Interface that any runtime must implement to provide buffer pools.
Required Methods§
Sourcefn network_buffer_pool(&self) -> &BufferPool
fn network_buffer_pool(&self) -> &BufferPool
Returns the network BufferPool.
Sourcefn storage_buffer_pool(&self) -> &BufferPool
fn storage_buffer_pool(&self) -> &BufferPool
Returns the storage BufferPool.
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.