pub enum AggregateAndUploadRequest {
AggregateAndUploadMetricEvents {
responder: AggregateAndUploadAggregateAndUploadMetricEventsResponder,
},
}
Expand description
Locally aggregates all collected metrics and uploads generated observations immediately. This is only to be used for Recovery, and should only be called once per Recovery attempt.
If AggregateAndUpload completes, then the collected metrics were uploaded to Cobalt successfully. Otherwise, AggregateAndUpload may continue to run until the calling service cancels the process when long running operation exceeds the specified timeout. The reason this may occur, is that AggregateAndUpload has a retry policy, and will retry any failures until the operation succeeds or is cancelled due to exceeding a specified timeout.
Variants§
AggregateAndUploadMetricEvents
Fields
Implementations§
Source§impl AggregateAndUploadRequest
impl AggregateAndUploadRequest
pub fn into_aggregate_and_upload_metric_events( self, ) -> Option<AggregateAndUploadAggregateAndUploadMetricEventsResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AggregateAndUploadRequest
impl !RefUnwindSafe for AggregateAndUploadRequest
impl Send for AggregateAndUploadRequest
impl Sync for AggregateAndUploadRequest
impl Unpin for AggregateAndUploadRequest
impl !UnwindSafe for AggregateAndUploadRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more