[][src]Struct pgx::guc::GucRegistry

pub struct GucRegistry {}

Implementations

impl GucRegistry[src]

pub fn define_bool_guc(
    name: &str,
    short_description: &str,
    long_description: &str,
    setting: &GucSetting<bool>,
    context: GucContext
)
[src]

pub fn define_int_guc(
    name: &str,
    short_description: &str,
    long_description: &str,
    setting: &GucSetting<i32>,
    min_value: i32,
    max_value: i32,
    context: GucContext
)
[src]

pub fn define_string_guc(
    name: &str,
    short_description: &str,
    long_description: &str,
    setting: &GucSetting<Option<&'static str>>,
    context: GucContext
)
[src]

pub fn define_float_guc(
    name: &str,
    short_description: &str,
    long_description: &str,
    setting: &GucSetting<f64>,
    min_value: f64,
    max_value: f64,
    context: GucContext
)
[src]

pub fn define_enum_guc<T>(
    name: &str,
    short_description: &str,
    long_description: &str,
    setting: &GucSetting<T>,
    context: GucContext
) where
    T: GucEnum<T> + Copy
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.