morpheus_network::types

Type Alias ProgressCallbackWithMessage

Source
pub type ProgressCallbackWithMessage<'a> = Option<&'a mut dyn FnMut(usize, usize, &str)>;
Expand description

Progress callback with message type for operations with status messages. Parameters: (bytes_downloaded, total_bytes, message)

Aliased Type§

enum ProgressCallbackWithMessage<'a> {
    None,
    Some(&'a mut dyn FnMut(usize, usize, &str)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(&'a mut dyn FnMut(usize, usize, &str))

Some value of type T.