MCPcopy Create free account
hub / github.com/grpc/grpc-java / StatusOr

Method StatusOr

api/src/main/java/io/grpc/StatusOr.java:30–33  ·  view source on GitHub ↗
(Status status, T value)

Source from the content-addressed store, hash-verified

28@ExperimentalApi("https://github.com/grpc/grpc-java/issues/11563")
29public class StatusOr<T> {
30 private StatusOr(Status status, T value) {
31 this.status = status;
32 this.value = value;
33 }
34
35 /** Construct from a value. */
36 public static <T> StatusOr<T> fromValue(T value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected