pub struct AsyncInit {
pub format_child: Child,
pub post_setup_commands: Vec<(String, Vec<String>)>,
pub device: PathBuf,
}Fields§
§format_child: ChildThe child process needed for this device initializati This will be an async spawned Child handle
post_setup_commands: Vec<(String, Vec<String>)>After formatting is complete run these commands to se ZFS needs this. These should prob be run in sync mod
device: PathBufThe device we’re initializing
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsyncInit
impl RefUnwindSafe for AsyncInit
impl Send for AsyncInit
impl Sync for AsyncInit
impl Unpin for AsyncInit
impl UnwindSafe for AsyncInit
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