pub struct PostgresDriver;Implementations§
Source§impl PostgresDriver
impl PostgresDriver
pub const QUOTE_LEFT: &'static str = sql_generate::QUOTE_LEFT
pub const QUOTE_RIGHT: &'static str = sql_generate::QUOTE_RIGHT
pub fn statement_text_renderer() -> &'static StatementTextRenderer
pub fn types() -> &'static DeterministicTypeConverter
pub fn defaults() -> &'static DefaultValueConverter
Trait Implementations§
Source§impl Driver for PostgresDriver
impl Driver for PostgresDriver
fn connection( &self, options: Option<&HashMap<String, String>>, ) -> Arc<dyn Connection> ⓘ
fn command(&self, connection: Arc<dyn Connection>) -> Arc<dyn Command> ⓘ
fn transaction( &self, connection: Arc<dyn Connection>, isolation: IsolationLevel, ) -> Arc<dyn Transaction> ⓘ
fn row_type_converters( &self, ) -> HashMap<String, Box<dyn TypeConverter<Value, Value> + Send + Sync>>
fn column_type(&self, name: &str) -> Result<String>
fn type_converter(&self) -> Option<&dyn Mapping<String, String>>
fn default_value_converter(&self) -> Option<&DefaultValueConverter>
fn statement_renderer(&self) -> Option<&StatementTextRenderer>
fn information(&self) -> Option<&Information>
Auto Trait Implementations§
impl Freeze for PostgresDriver
impl RefUnwindSafe for PostgresDriver
impl Send for PostgresDriver
impl Sync for PostgresDriver
impl Unpin for PostgresDriver
impl UnsafeUnpin for PostgresDriver
impl UnwindSafe for PostgresDriver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more