Skip to main content

BufferMode

Trait BufferMode 

Source
pub trait BufferMode:
    Sealed
    + Send
    + 'static {
    const IS_DISK: bool;
}
Expand description

Marker trait for SegmentWriter’s backend mode. Sealed: only Disk and Memory implement it.

Required Associated Constants§

Source

const IS_DISK: bool

Whether the writer mode is disk-backed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§