Garden

Result type

Result represents a value that succeeded, with Ok(...), or failed, with Err(...).

enum Result<T, E> {
  Ok(T),
  Err(E),
}