#[repr(C)]pub struct obj_config_t {
pub sync_mode: obj_sync_mode_t,
pub busy_timeout_ms: u64,
pub skip_open_check: bool,
}Expand description
Flat C struct mirroring obj_engine::Config’s public knobs.
The struct is fixed-shape and freezes pre-1.0; the “size-field- at-front” extension trick is NOT in scope for v0. Future extensions require a new entry point with a new struct variant.
Field-by-field defaults mirror obj_engine::Config::default:
| Field | Default |
|---|---|
sync_mode | OBJ_SYNC_MODE_FULL |
busy_timeout_ms | 5000 |
skip_open_check | false (0) |
Fields§
§sync_mode: obj_sync_mode_tfsync primitive used after every WAL commit.
busy_timeout_ms: u64Busy-lock timeout in milliseconds. 0 is treated as the
engine’s default (5 s).
skip_open_check: boolSkip the open-time integrity check. Non-zero = skip.
Auto Trait Implementations§
impl Freeze for obj_config_t
impl RefUnwindSafe for obj_config_t
impl Send for obj_config_t
impl Sync for obj_config_t
impl Unpin for obj_config_t
impl UnsafeUnpin for obj_config_t
impl UnwindSafe for obj_config_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more