Type alias RustResult<T>

RustResult<T>: {
    ok: T;
} | {
    error: string;
}

Type Parameters

  • T

Type declaration

  • ok: T

Type declaration

  • error: string

Generated using TypeDoc