pub type OptionalResult<T> = OptionalArg<T>;
👎Deprecated since 0.29.0: Alias kept for backwards compatibility. Replace with
OptionalValue
Expand description
It is just an alias for OptionalArg
.
In general we use OptionalArg
for arguments and OptionalResult
for results,
but it is the same implementation for both.
Aliased Type§
enum OptionalResult<T> {
Some(T),
None,
}