pub fn plan_layout(request: &PlanRequest) -> Result<ExfatLayout, GeometryError>Expand description
Plan an exFAT layout for request.
The result is complete: every field the boot sector records, and where each of the three residents a format writes lands in the heap.
ยงErrors
GeometryError::SectorSizeUnsupported, GeometryError::ClusterSizeUnsupported, or
GeometryError::BoundaryAlignUnsupported where an input is not one the format defines;
GeometryError::ClusterTooLarge where the allocation unit exceeds what the two shifts
express; GeometryError::VolumeTooSmall, GeometryError::NoClusterHeap,
GeometryError::TooManyClusters, or GeometryError::HeapTooSmall where the volume
and the unit do not fit each other.