Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :| FileOpenResult : Variant<int, String>
- //any int is ok (file handle)
- variant1(_)
- //only a specific list of errors is ok
- variant2("not_found")
- variant2("not_accessible")
- variant2("device_busy")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement