Struct symbiosis::Postgres[][src]

pub struct Postgres {
    client: Client,
    table_types: HashMap<FullName, (Vec<DataType<Aug>>, RelationDesc)>,
}

Fields

client: Clienttable_types: HashMap<FullName, (Vec<DataType<Aug>>, RelationDesc)>

Implementations

impl Postgres[src]

pub async fn open_and_erase(url: &str) -> Result<Self, Error>[src]

pub fn can_handle(&self, stmt: &Statement<Raw>) -> bool[src]

pub async fn execute(
    &mut self,
    pcx: &PlanContext,
    catalog: &dyn Catalog,
    stmt: &Statement<Raw>
) -> Result<Plan, Error>
[src]

pub(crate) async fn run_query(
    &mut self,
    table_name: &FullName,
    query: String,
    junk: usize
) -> Result<Vec<Row>, Error>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Postgres[src]

impl Send for Postgres[src]

impl Sync for Postgres[src]

impl Unpin for Postgres[src]

impl !UnwindSafe for Postgres[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]