Struct gapi_grpc::google::chromeos::moblab::v1beta1::build_service_client::BuildServiceClient[][src]

pub struct BuildServiceClient<T> { /* fields omitted */ }

Manages Chrome OS build services.

Implementations

impl BuildServiceClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> BuildServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn list_builds(
    &mut self,
    request: impl IntoRequest<ListBuildsRequest>
) -> Result<Response<ListBuildsResponse>, Status>
[src]

Lists all builds for the given build target and model in descending order for the milestones and build versions.

pub async fn check_build_stage_status(
    &mut self,
    request: impl IntoRequest<CheckBuildStageStatusRequest>
) -> Result<Response<CheckBuildStageStatusResponse>, Status>
[src]

Checks the stage status for a given build artifact in a partner Google Cloud Storage bucket.

pub async fn stage_build(
    &mut self,
    request: impl IntoRequest<StageBuildRequest>
) -> Result<Response<Operation>, Status>
[src]

Stages a given build artifact from a internal Google Cloud Storage bucket to a partner Google Cloud Storage bucket. If any of objects has already been copied, it will overwrite the previous objects. Operation <response: [StageBuildResponse][google.chromeos.moblab.v1beta1.StageBuildResponse], metadata: [StageBuildMetadata][google.chromeos.moblab.v1beta1.StageBuildMetadata]>

Trait Implementations

impl<T: Clone> Clone for BuildServiceClient<T>[src]

impl<T> Debug for BuildServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for BuildServiceClient<T>

impl<T> Send for BuildServiceClient<T> where
    T: Send

impl<T> Sync for BuildServiceClient<T> where
    T: Sync

impl<T> Unpin for BuildServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for BuildServiceClient<T>

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<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]