anyhow 1.0.27

Flexible concrete Error type built on std::error::Error
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use anyhow::Error;

#[test]
fn test_send() {
    fn assert_send<T: Send>() {}
    assert_send::<Error>();
}

#[test]
fn test_sync() {
    fn assert_sync<T: Sync>() {}
    assert_sync::<Error>();
}