1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright the Vortex contributors
use Arc;
use async_trait;
use ByteBuffer;
use VortexResult;
use crateSegmentId;
use crateSequenceId;
/// Shared writer-side segment sink.
pub type SegmentSinkRef = ;
/// Assigns segment ids and writes segment buffers during layout writing.
///
/// Segment sinks are responsible for preserving any ordering guarantees required by the storage
/// backend. The [`SequenceId`] argument lets sinks serialize id assignment while still allowing
/// upstream layout strategies to do work concurrently.