pub struct DiskutilFormatter;Expand description
The native macOS Formatter, backed by diskutil.
Implementations§
Trait Implementations§
Source§impl Default for DiskutilFormatter
impl Default for DiskutilFormatter
Source§impl Formatter for DiskutilFormatter
impl Formatter for DiskutilFormatter
Source§fn probe(&self, node: &str) -> Result<DeviceInfo, CoreError>
fn probe(&self, node: &str) -> Result<DeviceInfo, CoreError>
Inspect a device without modifying it.
Source§fn list_devices(&self) -> Result<Vec<DeviceInfo>, CoreError>
fn list_devices(&self) -> Result<Vec<DeviceInfo>, CoreError>
Enumerate whole physical devices the user could pick to format — the
raw probe list (the CLI applies
eligible_targets to offer only the
safe ones). Read-only.Auto Trait Implementations§
impl Freeze for DiskutilFormatter
impl RefUnwindSafe for DiskutilFormatter
impl Send for DiskutilFormatter
impl Sync for DiskutilFormatter
impl Unpin for DiskutilFormatter
impl UnsafeUnpin for DiskutilFormatter
impl UnwindSafe for DiskutilFormatter
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