pub fn list_missing_digests(
      &self,
      request: bazel_protos::remote_execution::FindMissingBlobsRequest,
    ) -> impl Future<Item = HashSet<Digest>, Error = String> {
      let store = self.clone();
      self.with_cas_client(move |client| {
        client
          .find_missing_blobs_opt(&request, store.call_option())
          .map_err(|err| {
            format!(
              "Error from server in response to find_missing_blobs_request: {:?}",
              err
            )
          })
          .and_then(|response| {
            response
              .get_missing_blob_digests()
              .iter()
              .map(|digest| digest.into())
              .collect()
          })
      })
    }
///
/// Given a collection of Digests (digests),
/// returns the set of digests from that collection not present in the CAS.
///
Given a collection of Digests (digests),
returns the set of digests from that collection not present in the CAS.
Given a collection of Digests ( digests ) returns the set of digests from that collection not present in the CAS .
pub fn list_missing_digests(
      &self,
      request: bazel_protos::remote_execution::FindMissingBlobsRequest,
    ) -> impl Future<Item = HashSet<Digest>, Error = String> {
      let store = self.clone();
      self.with_cas_client(move |client| {
        client
          .find_missing_blobs_opt(&request, store.call_option())
          .map_err(|err| {
            format!(
              "Error from server in response to find_missing_blobs_request: {:?}",
              err
            )
          })
          .and_then(|response| {
            response
              .get_missing_blob_digests()
              .iter()
              .map(|digest| digest.into())
              .collect()
          })
      })
    }
pub fn list_missing_digests ( & self , request : bazel_protos :: remote_execution :: FindMissingBlobsRequest , ) -> impl Future < Item = HashSet < Digest > , Error = String > { let store = self . clone ( ) ; self . with_cas_client ( move | client | { client . find_missing_blobs_opt ( & request , store . call_option ( ) ) . map_err ( | err | { format ! ( " " err ) } ) . and_then ( | response | { response . get_missing_blob_digests ( ) . iter ( ) . map ( | digest | digest . into ( ) ) . collect ( ) } ) } ) }
Given a collection of Digests (digests),
returns the set of digests from that collection not present in the CAS.
Given a collection of Digests ( digests ) returns the set of digests from that collection not present in the CAS .
&self
request
bazel_protos::remote_execution::FindMissingBlobsRequest
&self
request
bazel_protos::remote_execution::FindMissingBlobsRequest