icedwright-probe 0.1.4

What an iced app links for icedwright: semantic annotations, typed test ids and named tasks, all pass-through unless a feature turns them on
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use icedwright_probe::control::Payload;

#[derive(Debug)]
pub struct Note;
#[derive(Debug)]
pub enum ApiError {
    Offline,
}

icedwright_probe::task_name!(pub SaveNote: Result<Note, ApiError>);

fn main() {
    let _ = Payload::fail::<SaveNote>("offline");
    let _ = ApiError::Offline;
}