pub type Result<T> = Result<T, Error>;
Result type with the cargo-lock crate’s Error type.
cargo-lock
Error
enum Result<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value