Struct datafusion::config::Extensions
source · pub struct Extensions(_);
Expand description
A type-safe container for ConfigExtension
Implementations§
source§impl Extensions
impl Extensions
sourcepub fn insert<T>(&mut self, extension: T)where
T: ConfigExtension,
pub fn insert<T>(&mut self, extension: T)where T: ConfigExtension,
Registers a ConfigExtension
with this ConfigOptions
sourcepub fn get<T>(&self) -> Option<&T>where
T: ConfigExtension,
pub fn get<T>(&self) -> Option<&T>where T: ConfigExtension,
Retrieves the extension of the given type if any
sourcepub fn get_mut<T>(&mut self) -> Option<&mut T>where
T: ConfigExtension,
pub fn get_mut<T>(&mut self) -> Option<&mut T>where T: ConfigExtension,
Retrieves the extension of the given type if any
Trait Implementations§
source§impl Clone for Extensions
impl Clone for Extensions
source§fn clone(&self) -> Extensions
fn clone(&self) -> Extensions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Extensions
impl Debug for Extensions
source§impl Default for Extensions
impl Default for Extensions
source§fn default() -> Extensions
fn default() -> Extensions
Returns the “default value” for a type. Read more