pub trait OkError {
type Ok;
type Error;
}Expand description
Get Ok type and Err type of a Result.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".