[−][src]Struct google_docs1::ResumableUploadHelper
A utility type to perform a resumable upload from start to end.
Fields
client: &'a mut Clientdelegate: &'a mut dyn Delegatestart_at: Option<u64>auth: &'a mut Auser_agent: &'a strauth_header: Authorization<Bearer>url: &'a strreader: &'a mut dyn ReadSeekmedia_type: Mimecontent_length: u64Implementations
impl<'a, A> ResumableUploadHelper<'a, A> where
A: GetToken, [src]
A: GetToken,
pub fn upload(&mut self) -> Option<Result<Response>>[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,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,