1 2 3 4 5 6 7 8 9
pub mod read; pub mod write; fn unwrap_or_resume_unwind<V>(value: Result<V, Box<dyn std::any::Any + Send>>) -> V { match value { Ok(value) => value, Err(error) => std::panic::resume_unwind(error), } }
1 2 3 4 5 6 7 8 9
pub mod read; pub mod write; fn unwrap_or_resume_unwind<V>(value: Result<V, Box<dyn std::any::Any + Send>>) -> V { match value { Ok(value) => value, Err(error) => std::panic::resume_unwind(error), } }