Ok
Bases: ResultType[T, E]
flowchart TD
pyochain.rs.Ok[Ok]
pyochain.rs.ResultType[ResultType]
pyochain.rs.Pipe[Pipe]
pyochain.rs.ResultType --> pyochain.rs.Ok
pyochain.rs.Pipe --> pyochain.rs.ResultType
click pyochain.rs.Ok href "" "pyochain.rs.Ok"
click pyochain.rs.ResultType href "" "pyochain.rs.ResultType"
click pyochain.rs.Pipe href "" "pyochain.rs.Pipe"
Represents a successful value.
One of the two variants of Result[T, E], where T is the type of the value in Ok.
For more documentation, see the ResultType[T, E] Protocol.
Attributes:
| Name | Type | Description |
|---|---|---|
value |
T
|
The contained successful value. |