@ts-rust/std - v0.0.5
    Preparing search index...

    Type Alias Result<T, E>

    Result: Ok<T, E> | Err<T, E>

    A type representing the outcome of an operation, either a success (Ok) or a checked failure (Err).

    Inspired by Rust’s Result, this type provides a type-safe way to handle computations that may succeed with a value of type T or fail with a checked error of type E, distinguishing expected and unexpected failures via CheckedError.

    Type Parameters

    • T
    • E