[][src]Struct pgx_utils::pg_config::Pgx

pub struct Pgx { /* fields omitted */ }

Implementations

impl Pgx[src]

pub fn new() -> Self[src]

pub fn default() -> Result<Self, Error>[src]

pub fn from_config() -> Result<Self, Error>[src]

pub fn push(&mut self, pg_config: PgConfig)[src]

pub fn iter(
    &self,
    which: PgConfigSelector<'_>
) -> impl Iterator<Item = Result<&PgConfig, Error>>
[src]

pub fn get(&self, label: &str) -> Result<&PgConfig, Error>[src]

pub fn home() -> Result<PathBuf, Error>[src]

pub fn config_toml() -> Result<PathBuf, Error>[src]

Auto Trait Implementations

impl RefUnwindSafe for Pgx

impl Send for Pgx

impl Sync for Pgx

impl Unpin for Pgx

impl UnwindSafe for Pgx

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, 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.