magpie
Loading...
Searching...
No Matches
magpie::Result< T, ERR > Struct Template Reference

Public Member Functions

const T * operator-> () const
bool isOk () const
bool isError () const
const T & unwrap ()
const ERR & error ()

Static Public Member Functions

static Result< T, ERR > ok (T &&value)
static Result< T, ERR > err (ERR &&value)

The documentation for this struct was generated from the following file: