#[non_exhaustive]pub struct SegmentSources {
pub format: Format,
pub kind: SegmentKind,
pub sources: Vec<PeeledSource>,
}Expand description
The ordered per-segment byte sources of a segmented image, each materialized
via its own crate::Access (phase-2/3 executor) and ordered by segment
number. For SegmentKind::SplitRaw these concatenate (ConcatSource);
for SegmentKind::Ewf / SegmentKind::SplitVmdk they feed a container
reader’s multi-segment backing (the SegmentBacking seam above).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.format: FormatThe archive format the segments live in.
kind: SegmentKindHow the segments reassemble.
sources: Vec<PeeledSource>The per-segment seekable handles, ordered by segment number.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SegmentSources
impl RefUnwindSafe for SegmentSources
impl Send for SegmentSources
impl Sync for SegmentSources
impl Unpin for SegmentSources
impl UnsafeUnpin for SegmentSources
impl UnwindSafe for SegmentSources
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more