pub struct DiskBuilder { /* private fields */ }
Implementations§
Source§impl DiskBuilder
impl DiskBuilder
pub fn uninitialized() -> DiskBuilder
pub fn new() -> DiskBuilder
pub fn size(&mut self, size: u64) -> &mut Self
pub fn data_volume_size(&mut self, data_volume_size: u64) -> &mut Self
pub fn format_volumes(&mut self, volumes_spec: VolumesSpec) -> &mut Self
pub fn format_data(&mut self, data_spec: DataSpec) -> &mut Self
pub fn set_fs_switch(&mut self, content: &str) -> &mut Self
pub fn corrupt_data(&mut self) -> &mut Self
pub fn with_gpt(&mut self) -> &mut Self
pub fn with_account_and_virtualization(&mut self) -> &mut Self
pub fn with_unformatted_volume_manager(&mut self) -> &mut Self
pub fn with_legacy_data_label(&mut self) -> &mut Self
pub async fn build(self) -> Vmo
Auto Trait Implementations§
impl Freeze for DiskBuilder
impl RefUnwindSafe for DiskBuilder
impl Send for DiskBuilder
impl Sync for DiskBuilder
impl Unpin for DiskBuilder
impl UnwindSafe for DiskBuilder
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