1 2 3 4
use std::error::Error; /// Represents an alias for standard library `Result` with error type of `Box<dyn Error>`. pub type Result<T> = std::result::Result<T, Box<dyn Error + Sync + Send>>;
1 2 3 4
use std::error::Error; /// Represents an alias for standard library `Result` with error type of `Box<dyn Error>`. pub type Result<T> = std::result::Result<T, Box<dyn Error + Sync + Send>>;