[][src]Struct pgx::guc::GucSetting

pub struct GucSetting<T> { /* fields omitted */ }

Implementations

impl<T> GucSetting<T>[src]

pub const fn new(value: T) -> Self[src]

impl GucSetting<bool>[src]

pub fn get(&self) -> bool[src]

impl GucSetting<i32>[src]

pub fn get(&self) -> i32[src]

impl GucSetting<f64>[src]

pub fn get(&self) -> f64[src]

impl GucSetting<Option<&'static str>>[src]

pub fn get(&self) -> Option<String>[src]

pub fn get_char_ptr(&self) -> *mut c_char[src]

impl<T> GucSetting<T> where
    T: GucEnum<T> + Copy
[src]

pub fn get(&self) -> T[src]

pub fn as_ptr(&self) -> *mut i32[src]

Trait Implementations

impl Sync for GucSetting<bool>[src]

impl Sync for GucSetting<i32>[src]

impl Sync for GucSetting<f64>[src]

impl Sync for GucSetting<Option<&'static str>>[src]

impl<T> Sync for GucSetting<T> where
    T: GucEnum<T> + Copy
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for GucSetting<T>[src]

impl<T> !Send for GucSetting<T>[src]

impl<T> Unpin for GucSetting<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for GucSetting<T> where
    T: UnwindSafe
[src]

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.