[][src]Struct moltenvk_deps::Message

pub struct Message {
    pub question: Box<dyn FnMut() -> bool>,
    pub progress: Box<dyn FnMut(u64, u64) -> bool + Send>,
    pub unpacking: Box<dyn FnMut()>,
    pub complete: Box<dyn FnMut()>,
}

Specify callbacks to the user for the install. Can use Default::default()

Fields

question: Box<dyn FnMut() -> bool>

Initial question, do they want to install?

progress: Box<dyn FnMut(u64, u64) -> bool + Send>

This function gives progress while the download is happending (download_so_for, total_file_size)

unpacking: Box<dyn FnMut()>

Message for when unpacking tar

complete: Box<dyn FnMut()>

Message for when complete

Trait Implementations

impl Default for Message[src]

Auto Trait Implementations

impl !Send for Message

impl !Sync for Message

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.