Struct google_transcoder1_beta1::client::ResumableUploadHelper [−][src]
A utility type to perform a resumable upload from start to end.
Fields
client: &'a Client<HttpsConnector<HttpConnector>, Body>delegate: &'a mut dyn Delegatestart_at: Option<u64>auth: &'a Auser_agent: &'a strauth_header: Stringurl: &'a strreader: &'a mut dyn ReadSeekmedia_type: Mimecontent_length: u64Implementations
impl<'a, A> ResumableUploadHelper<'a, A>[src]
pub async fn upload(&mut self) -> Option<Result<Response<Body>>>[src]
returns None if operation was cancelled by delegate, or the HttpResult. It can be that we return the result just because we didn’t understand the status code - caller should check for status himself before assuming it’s OK to use
Auto Trait Implementations
impl<'a, A> !RefUnwindSafe for ResumableUploadHelper<'a, A>
impl<'a, A> !Send for ResumableUploadHelper<'a, A>
impl<'a, A> !Sync for ResumableUploadHelper<'a, A>
impl<'a, A> Unpin for ResumableUploadHelper<'a, A>
impl<'a, A> !UnwindSafe for ResumableUploadHelper<'a, A>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,