cartel-pg 0.30.0

Async PostgreSQL driver for the dope runtime
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use o3::buffer::storage;
use std::mem;

pub struct Server {
    pub(in crate::reply) payload: storage::Shared,
}

impl Server {
    pub(in crate::reply) const fn new(payload: storage::Shared) -> Self {
        Self { payload }
    }
}

const _: () = assert!(mem::size_of::<Server>() == mem::size_of::<storage::Shared>());