Holds the result of ProtocolHandler handle callback. More...
Public Member Functions | |
Result (ObjectRef< TResultType > resource) | |
Constructor in case of success. More... | |
Result (LoadTask loadTask) | |
Constructor in case of success. More... | |
Result () | |
Constructor in case of failure. | |
void | close () |
Closes the object, and releases the resources. | |
Holds the result of ProtocolHandler handle callback.
The result can be either a synchronously loaded resource, or a load task to asynchronously load the resource.
Constructor in case of success.
resource | The created resource. |