pub trait UploadClientExtwhere
Self: UploadClient,{
// Provided method
fn with_callback<F>(self, callback: F) -> WithCallback<Self, F>
where Self: Sized,
F: OnComplete<Self> { ... }
}
Expand description
An extension trait adding convenience methods to existing UploadClient
s.
Provided Methods§
Sourcefn with_callback<F>(self, callback: F) -> WithCallback<Self, F>where
Self: Sized,
F: OnComplete<Self>,
fn with_callback<F>(self, callback: F) -> WithCallback<Self, F>where
Self: Sized,
F: OnComplete<Self>,
Adds a custom implementation of the default method on_upload_complete
adding specific handling of the entity tag of the completed upload in
case it is required for some functionality.