deftrait Result as: ->
defstatic ok value: Any, as: -> Result.Ok.new(value)
defstatic error error: Error, as: -> Result.Error.new(error)
defstatic none as: -> Result.None.new()
def ok?
def error?
def <Any> unwrap
def <Any> expect message: String
end