pub fn validate_header_with_vfs(
vfs: &dyn Vfs,
path: &Path,
expected: &SegmentMeta,
) -> Result<usize, SegmentError>Expand description
Reads and validates only one bounded segment header through a VFS decorator.
pub fn validate_header_with_vfs(
vfs: &dyn Vfs,
path: &Path,
expected: &SegmentMeta,
) -> Result<usize, SegmentError>Reads and validates only one bounded segment header through a VFS decorator.