lazytry 0.1.0

Providing failable lazy values
Documentation
1
2
3
4
5
6
7
8
9
pub mod error;
pub mod sync;
pub mod unsync;

use std::error::Error;

pub fn into_box_err(e: impl Error + Sync + 'static) -> Box<dyn Error + Sync> {
    Box::new(e)
}