Results.Types: Core types
Exported members
Results.Types.Err — TypeRepresents an computation error.
Results.Types.None — TypeShorthand for Nothing.
Results.Types.Ok — TypeRepresents an Ok result of computation.
Results.Types.Option — TypeSynonym for Union{Some{T}, None}.
Options implement the following protocols:
iterate: Yields oneTif theOptionisSome, yields nothing otherwise.length: Returns 1 if theResultisOk, 0 ifErr
Results.Types.Result — TypeSynonym for Union{Ok{T}, Err{E}}.
As well as working with the Result combinators defined below, Results implement the following protocols:
iterate: Yields oneTif theResultisOk, yields nothing otherwise.length: Returns 1 if theResultisOk, 0 ifErr
Results.Types.none — ConstantShorthand for nothing.
Un-exported members
Results.Types.UnwrapError — TypeException thrown when unwrap() is called on an Err
Base methods extended
Base.:== — MethodBase.isequal for Err values
Base.:== — MethodBase.isequal for Ok values
Base.:== — MethodBase.isequal for Some values
Base.eltype — MethodBase.eltype — MethodBase.eltype — MethodBase.eltype — Methodeltype for Some values
Base.iterate — MethodBase.iterate — MethodBase.iterate — MethodBase.iterate — Methoditerate for Some values
Base.length — MethodBase.length — MethodBase.length — MethodBase.length — Methodlength for Some values
Base.show — MethodBase.show — Method