Documentation
¶
Index ¶
- type Result
- func (self Result[Ok]) And(res Result[Ok]) Result[Ok]
- func (self Result[Ok]) Error() error
- func (self Result[Ok]) IfErr(consume delegate.Consumer1[error])
- func (self Result[Ok]) IfOk(consume delegate.Consumer1[Ok])
- func (self Result[Ok]) IsErr() bool
- func (self Result[Ok]) IsOk() bool
- func (self Result[Ok]) Match(consumeOk delegate.Consumer1[Ok], consumeErr delegate.Consumer1[error])
- func (self Result[T]) Or(res Result[T]) Result[T]
- func (self Result[Ok]) String() string
- func (self Result[Ok]) Value() Ok
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.