[−][src]Trait amadeus::source::postgres::PostgresData
Required methods
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
type_: &Type,
buf: Option<&[u8]>
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
Implementations on Foreign Types
impl PostgresData for i8
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<i8, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<i8, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 31] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 31], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 31], Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D, E, F, G> PostgresData for (A, B, C, D, E, F, G) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G), Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for f64
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<f64, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<f64, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 29]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 29]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 29]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 18] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 18], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 18], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 5]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 5]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 5]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 0] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 0], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 0], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 24]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 24]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 24]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 25]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 25]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 25]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 16]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 16]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 16]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 6]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 6]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 6]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 4]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 4]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 4]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 7]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 7]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 7]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 17]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 17]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 17]>, Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D, E, F, G, H> PostgresData for (A, B, C, D, E, F, G, H) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H), Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for u16
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<u16, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<u16, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 16] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 16], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 16], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 18]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 18]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 18]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 2]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 2]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 2]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 32]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 32]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 32]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 13] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 13], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 13], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 12] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 12], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 12], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 25] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 25], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 25], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 15]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 15]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 15]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 23] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 23], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 23], Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D> PostgresData for (A, B, C, D) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 21]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 21]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 21]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 6] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 6], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 6], Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D, E, F, G, H, I, J, K, L> PostgresData for (A, B, C, D, E, F, G, H, I, J, K, L) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
I: PostgresData,
J: PostgresData,
K: PostgresData,
L: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
I: PostgresData,
J: PostgresData,
K: PostgresData,
L: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 13]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 13]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 13]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 10] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 10], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 10], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 20]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 20]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 20]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 21] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 21], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 21], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 10]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 10]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 10]>, Box<dyn Error + 'static + Send + Sync>>
impl<A, B> PostgresData for (A, B) where
A: PostgresData,
B: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 22]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 22]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 22]>, Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D, E, F, G, H, I> PostgresData for (A, B, C, D, E, F, G, H, I) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
I: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
I: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H, I), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H, I), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 9] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 9], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 9], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 8]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 8]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 8]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 11]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 11]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 11]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 26]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 26]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 26]>, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for u64
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<u64, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<u64, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for u8
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<u8, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<u8, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 3]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 3]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 3]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 1]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 1]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 1]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 1] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 1], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 1], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 27] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 27], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 27], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Option<T> where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<Option<T>, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<Option<T>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 14]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 14]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 14]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 30] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 30], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 30], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 4] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 4], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 4], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 19]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 19]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 19]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 0]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 0]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 0]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 3] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 3], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 3], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 31]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 31]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 31]>, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for i64
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<i64, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<i64, Box<dyn Error + 'static + Send + Sync>>
impl<K, V, S> PostgresData for HashMap<K, V, S> where
K: Hash + Eq + PostgresData,
S: BuildHasher + Clone + 'static,
V: PostgresData,
[src]
K: Hash + Eq + PostgresData,
S: BuildHasher + Clone + 'static,
V: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<HashMap<K, V, S>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<HashMap<K, V, S>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 24] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 24], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 24], Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for u32
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<u32, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<u32, Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D, E, F> PostgresData for (A, B, C, D, E, F) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<T> where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
default fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<Box<T>, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<Box<T>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 26] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 26], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 26], Box<dyn Error + 'static + Send + Sync>>
impl<A> PostgresData for (A,) where
A: PostgresData,
[src]
A: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A,), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A,), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 32] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 32], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 32], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 20] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 20], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 20], Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for ()
[src]
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 2] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 2], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 2], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 15] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 15], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 15], Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D, E> PostgresData for (A, B, C, D, E) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E), Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for i32
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<i32, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<i32, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 14] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 14], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 14], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 28]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 28]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 28]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 30]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 30]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 30]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 22] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 22], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 22], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 5] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 5], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 5], Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for bool
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<bool, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<bool, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for i16
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<i16, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<i16, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 17] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 17], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 17], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 23]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 23]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 23]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 11] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 11], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 11], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 29] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 29], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 29], Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 19] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 19], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 19], Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D, E, F, G, H, I, J> PostgresData for (A, B, C, D, E, F, G, H, I, J) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
I: PostgresData,
J: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
I: PostgresData,
J: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H, I, J), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H, I, J), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 12]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 12]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 12]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 7] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 7], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 7], Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for String
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<String, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<String, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 8] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 8], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 8], Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for f32
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<f32, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<f32, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 27]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 27]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 27]>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for Box<[T; 9]> where
T: PostgresData,
[src]
T: PostgresData,
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 9]>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Box<[T; 9]>, Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C, D, E, F, G, H, I, J, K> PostgresData for (A, B, C, D, E, F, G, H, I, J, K) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
I: PostgresData,
J: PostgresData,
K: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
D: PostgresData,
E: PostgresData,
F: PostgresData,
G: PostgresData,
H: PostgresData,
I: PostgresData,
J: PostgresData,
K: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for [T; 28] where
T: PostgresData,
[src]
T: PostgresData,
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 28], Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<[T; 28], Box<dyn Error + 'static + Send + Sync>>
impl<A, B, C> PostgresData for (A, B, C) where
A: PostgresData,
B: PostgresData,
C: PostgresData,
[src]
A: PostgresData,
B: PostgresData,
C: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C), Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<(A, B, C), Box<dyn Error + 'static + Send + Sync>>
Implementors
impl PostgresData for Decimal
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Decimal, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Decimal, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for IpAddr
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<IpAddr, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<IpAddr, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Value
[src]
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Value, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Value, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Bson
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Bson, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Bson, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for CloudfrontRow
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<Self, Box<dyn Error + Sync + Send>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<Self, Box<dyn Error + Sync + Send>>
impl PostgresData for Date
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Date, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Date, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for DateTime
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<DateTime, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<DateTime, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for DateTimeWithoutTimezone
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<DateTimeWithoutTimezone, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<DateTimeWithoutTimezone, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for DateWithoutTimezone
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<DateWithoutTimezone, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<DateWithoutTimezone, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Enum
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Enum, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Enum, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Group
[src]
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Group, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Group, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Json
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Json, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Json, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for List<u8>
[src]
BYTEA
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<List<u8>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<List<u8>, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Time
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Time, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Time, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for TimeWithoutTimezone
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
type_: &Type,
buf: Option<&[u8]>
) -> Result<TimeWithoutTimezone, Box<dyn Error + 'static + Send + Sync>>
[src]
type_: &Type,
buf: Option<&[u8]>
) -> Result<TimeWithoutTimezone, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Timezone
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Timezone, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Timezone, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Url
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Url, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Url, Box<dyn Error + 'static + Send + Sync>>
impl PostgresData for Webpage<'static>
[src]
fn query(f: &mut Formatter, name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Webpage<'static>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<Webpage<'static>, Box<dyn Error + 'static + Send + Sync>>
impl<T> PostgresData for List<T> where
T: PostgresData,
[src]
T: PostgresData,