pub struct HttpCloudReporter { /* private fields */ }Expand description
HTTP cloud reporter for production use.
Sends progress updates to a cloud API via HTTP POST requests.
Implementations§
Source§impl HttpCloudReporter
impl HttpCloudReporter
pub const fn new(config: CloudConfig) -> Self
Trait Implementations§
Source§impl CloudReporter for HttpCloudReporter
impl CloudReporter for HttpCloudReporter
Source§fn report_progress(&self, update: &ProgressUpdate) -> Result<(), CloudError>
fn report_progress(&self, update: &ProgressUpdate) -> Result<(), CloudError>
Report a progress update to the cloud. Read more
Source§fn heartbeat(&self) -> Result<(), CloudError>
fn heartbeat(&self) -> Result<(), CloudError>
Send a heartbeat to indicate the container is alive. Read more
Source§fn report_completion(&self, result: &PipelineResult) -> Result<(), CloudError>
fn report_completion(&self, result: &PipelineResult) -> Result<(), CloudError>
Report pipeline completion with final results. Read more
Auto Trait Implementations§
impl Freeze for HttpCloudReporter
impl RefUnwindSafe for HttpCloudReporter
impl Send for HttpCloudReporter
impl Sync for HttpCloudReporter
impl Unpin for HttpCloudReporter
impl UnsafeUnpin for HttpCloudReporter
impl UnwindSafe for HttpCloudReporter
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more