odbc_api_helper/
lib.rs

1#![deny(missing_debug_implementations)]
2
3#[macro_use]
4extern crate anyhow;
5
6#[macro_use]
7extern crate log;
8
9pub extern crate dameng_helper;
10pub extern crate pg_helper;
11
12pub use odbc_api;
13
14pub mod bridge;
15pub mod error;
16pub mod executor;
17pub mod extension;
18
19pub use odbc_common::Print;
20
21pub trait Convert<T>: Sized {
22    fn convert(self) -> T;
23}
24
25pub trait TryConvert<T>: Sized {
26    type Error;
27    fn try_convert(self) -> Result<T, Self::Error>;
28}