Enum gapi_grpc::google::devtools::build::v1::build_status::Result[][src]

[]
#[repr(i32)]pub enum Result {
    UnknownStatus,
    CommandSucceeded,
    CommandFailed,
    UserError,
    SystemError,
    ResourceExhausted,
    InvocationDeadlineExceeded,
    RequestDeadlineExceeded,
    Cancelled,
}
[]

The end result of the Build.

Variants

UnknownStatus
[]

Unspecified or unknown.

CommandSucceeded
[]

Build was successful and tests (if requested) all pass.

CommandFailed
[]

Build error and/or test failure.

UserError
[]

Unable to obtain a result due to input provided by the user.

SystemError
[]

Unable to obtain a result due to a failure within the build system.

ResourceExhausted
[]

Build required too many resources, such as build tool RAM.

InvocationDeadlineExceeded
[]

An invocation attempt time exceeded its deadline.

RequestDeadlineExceeded
[]

Build request time exceeded the request_deadline

Cancelled
[]

The build was cancelled by a call to CancelBuild.

Implementations

impl Result[src][]

pub fn is_valid(value: i32) -> bool[src][]

Returns true if value is a variant of Result.

pub fn from_i32(value: i32) -> Option<Result>[src][]

Converts an i32 to a Result, or None if value is not a valid variant.

Trait Implementations

impl Clone for Result[src][+]

impl Copy for Result[src]

impl Debug for Result[src][+]

impl Default for Result[src][+]

impl Eq for Result[src]

impl From<Result> for i32[src][+]

impl Hash for Result[src][+]

impl Ord for Result[src][+]

impl PartialEq<Result> for Result[src][+]

impl PartialOrd<Result> for Result[src][+]

impl StructuralEq for Result[src]

impl StructuralPartialEq for Result[src]

Auto Trait Implementations

impl RefUnwindSafe for Result

impl Send for Result

impl Sync for Result

impl Unpin for Result

impl UnwindSafe for Result

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]