1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![deny(missing_debug_implementations)]

#[macro_use]
extern crate anyhow;

#[macro_use]
extern crate log;

pub extern crate dameng_helper;
pub extern crate pg_helper;

pub use odbc_api;

mod bridge;
pub mod debug;
pub mod error;
pub mod executor;
pub mod extension;

pub use debug::print_all_tables;

pub trait Convert<T>: Sized {
    fn convert(self) -> T;
}

pub trait TryConvert<T>: Sized {
    type Error;
    fn try_convert(self) -> Result<T, Self::Error>;
}