pub struct DiskImageSet { /* private fields */ }Expand description
Physical disks discovered from explicit inputs and optional nearby containers. Membership follows volume identifiers and map references, never filenames.
Implementations§
Source§impl DiskImageSet
impl DiskImageSet
Sourcepub fn discover(inputs: &[PathBuf], candidates: &[PathBuf]) -> Result<Self>
pub fn discover(inputs: &[PathBuf], candidates: &[PathBuf]) -> Result<Self>
Discovers every physical disk connected to an input, including when the input is a companion. Unrelated candidates are not returned as evidence. Candidates must be local paths; this API never follows network references.
Sourcepub fn discover_with_limits(
inputs: &[PathBuf],
candidates: &[PathBuf],
limits: Limits,
) -> Result<Self>
pub fn discover_with_limits( inputs: &[PathBuf], candidates: &[PathBuf], limits: Limits, ) -> Result<Self>
Discovery inspects at most 128 distinct paths, with aggregate metadata, directory and triple budgets. Invalid optional candidates are ignored; unresolved dependencies of selected evidence remain errors.
Sourcepub fn into_readers(self) -> Vec<PhysicalDiskReader>
pub fn into_readers(self) -> Vec<PhysicalDiskReader>
Transfers all discovered disks to independent cursors with shared caches.
Auto Trait Implementations§
impl Freeze for DiskImageSet
impl RefUnwindSafe for DiskImageSet
impl Send for DiskImageSet
impl Sync for DiskImageSet
impl Unpin for DiskImageSet
impl UnsafeUnpin for DiskImageSet
impl UnwindSafe for DiskImageSet
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more