pub type Result<T> = Result<T, Diagnostic>;
enum Result<T> {
Ok(T),
Err(Diagnostic),
}
Contains the success value
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
This method tests for self and other values to be equal, and is used
by ==.
This method tests for !=. The default implementation is almost always
sufficient, and should not be overridden without very good reason.