pub struct ResumableUploadHelper<'a, A: 'a, S>where
S: Service<Uri> + Clone + Send + Sync + 'static,
S::Response: Connection + AsyncRead + AsyncWrite + Send + Unpin + 'static,
S::Future: Send + Unpin + 'static,
S::Error: Into<Box<dyn StdError + Send + Sync>>,{
pub client: &'a Client<S, Body>,
pub delegate: &'a mut dyn Delegate,
pub start_at: Option<u64>,
pub auth: &'a A,
pub user_agent: &'a str,
pub auth_header: String,
pub url: &'a str,
pub reader: &'a mut dyn ReadSeek,
pub media_type: Mime,
pub content_length: u64,
}
Expand description
A utility type to perform a resumable upload from start to end.
Fields§
§client: &'a Client<S, Body>
§delegate: &'a mut dyn Delegate
§start_at: Option<u64>
§auth: &'a A
§user_agent: &'a str
§auth_header: String
§url: &'a str
§reader: &'a mut dyn ReadSeek
§media_type: Mime
§content_length: u64