pub struct HttpExportSink { /* private fields */ }Expand description
HTTP PUT export sink — uploads artifact file bytes to a resolved URL derived from base_url.
Implementations§
Trait Implementations§
Source§impl Drop for HttpExportSink
impl Drop for HttpExportSink
Source§impl ExportSink for HttpExportSink
impl ExportSink for HttpExportSink
Source§fn target_kind(&self) -> Option<ExportReceiptTargetKind>
fn target_kind(&self) -> Option<ExportReceiptTargetKind>
Best-effort hint for the target kind this sink writes to. Used for
target-aware failure events when a push fails before a full receipt exists.
Source§fn destination_hint(&self, name: &str) -> Option<String>
fn destination_hint(&self, name: &str) -> Option<String>
Best-effort destination hint for observability. Successful pushes should
return the concrete destination in
ExportReceipt.Source§fn push<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
name: &'life1 str,
path: &'life2 str,
metadata: &'life3 ExportArtifactMetadata,
) -> Pin<Box<dyn Future<Output = Result<ExportReceipt, CellosError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn push<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
name: &'life1 str,
path: &'life2 str,
metadata: &'life3 ExportArtifactMetadata,
) -> Pin<Box<dyn Future<Output = Result<ExportReceipt, CellosError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Push an artifact and return the resulting receipt for observability.
Auto Trait Implementations§
impl Freeze for HttpExportSink
impl !RefUnwindSafe for HttpExportSink
impl Send for HttpExportSink
impl Sync for HttpExportSink
impl Unpin for HttpExportSink
impl UnsafeUnpin for HttpExportSink
impl !UnwindSafe for HttpExportSink
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