Trait bigml::resource::Status [] [src]

pub trait Status {
    fn code(&self) -> StatusCode;
    fn message(&self) -> &str;
    fn elapsed(&self) -> Option<u64>;
    fn progress(&self) -> Option<f32>;
}

Status of a resource. BigML actually defines many different "status" types, one for each resource, but quite a few of them have are highly similar. This interface tries to generalize over the most common versions.

Required Methods

Status code.

Human-readable status message.

Number of milliseconds which were needed to create this resource.

Number between 0.0 and 1.0 representing the progress of creating this resource.

Implementors