struct

Crig::HttpClient::Result(T, E)

Inherits Struct < Value < Object

Constructors

err(error : E) : self
Source
new(value : T | Nil = nil, error : E | Nil = nil)
Source
ok(value : T) : self
Source

Instance methods

error
Source
unwrap
Source
value
Source