//! # `Method::Sync` — strongest durability, available everywhere
//!
//! `Method::Sync` calls the platform's strongest durability primitive:
//! - Linux: `fsync(2)`
//! - macOS: `fcntl(F_FULLFSYNC, 0)` *(NOT regular `fsync` — that does
//! not guarantee media durability on Apple's storage stack)*
//! - Windows: `FlushFileBuffers`
//!
//! Use `Sync` when you cannot tolerate data loss across power-loss
//! events and the workload can absorb the latency cost. It is the
//! safest default and is always supported.
//!
//! Naming caveat: `Sync` here refers to the `fsync(2)` family of
//! durability primitives — **not** "synchronous IO" as opposed to
//! async. All methods work from both the sync and async APIs.
//!
//! Run: `cargo run --example 03_method_sync`
use ;