Rework support for vec string

This commit is contained in:
Dominik Werder
2024-12-11 16:57:20 +01:00
parent c52de68418
commit 53dc4b7361
5 changed files with 213 additions and 318 deletions

View File

@@ -1,16 +1,14 @@
use daqbuf_err as err;
use err::thiserror;
use err::ThisError;
use netpod::ScalarType;
use netpod::Shape;
use tokio_postgres::Client;
#[derive(Debug, ThisError)]
#[cstm(name = "ChannelInfo")]
pub enum Error {
Pg(#[from] crate::pg::Error),
BadValue,
}
autoerr::create_error_v1!(
name(Error, "ChannelInfo"),
enum variants {
Pg(#[from] crate::pg::Error),
BadValue,
},
);
pub struct ChannelInfo {
pub series: u64,