cartel-pg 0.27.0

Async PostgreSQL driver for the dope runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::num;

use o3::depot::index::bitmap;

#[repr(C)]
pub(in crate::protocol::runtime::ready::storage) struct Header {
    pub(super) shape: bitmap::Shape<num::NonZero<u32>>,
    align: [usize; 0],
}

impl Header {
    pub(super) const fn new(shape: bitmap::Shape<num::NonZero<u32>>) -> Self {
        Self { shape, align: [] }
    }
}