// Copyright 2024-2026 Gabriel Bjørnager Jensen.
//
// SPDX: MIT OR Apache-2.0
//! The [`serialise_iter`] function.
use ;
/// Serialise an iterator sequentially.
///
/// # Errors
///
/// This function will stop execution and return the
/// first serialisation error it encounters.