macro_rules! task_name {
($($(#[$meta:meta])* $vis:vis $name:ident : $output:ty);+ $(;)?) => { ... };
}Expand description
Declares task names: a unit struct for each, implementing TaskName.
icedwright_probe::task_name! {
pub ListNotes: Result<Vec<Note>, ApiError>;
pub SaveNote: Result<Note, ApiError>;
}
icedwright_probe::task_name!(pub PickFile: Option<std::path::PathBuf>);