[][src]Struct block_utils::AsyncInit

pub struct AsyncInit {
    pub format_child: Child,
    pub post_setup_commands: Vec<(String, Vec<String>)>,
    pub device: PathBuf,
}

Fields

format_child: Child

The 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: PathBuf

The device we're initializing

Trait Implementations

impl Debug for AsyncInit[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]