Module result

Source
Expand description

Common result support

Structs§

ResultCode
Represents a (raw) result value used all over the OS
ResultSuccess

Traits§

ResultBase
Represents a base trait for result value definitions to follow

Functions§

pack
Produces a Result whose value will depend on whether the supplied ResultCode was successful
unpack
Produces the ResultCode corresponding to a packed result

Type Aliases§

Result
Represents a result holding a certain value or a ResultCode as an indication of failure