pub enum DownloadAuth<'a, C>where
C: HttpClient,{
Auth(&'a mut Authorization<C>),
Download(&'a mut DownloadAuthorization<C>),
}
Expand description
Allow downloading files via an Authorization
or DownloadAuthorization
.
You do not need to use this type explicitly.
Variants§
Auth(&'a mut Authorization<C>)
Download(&'a mut DownloadAuthorization<C>)
Trait Implementations§
Source§impl<'a, C> From<&'a mut Authorization<C>> for DownloadAuth<'a, C>where
C: HttpClient,
impl<'a, C> From<&'a mut Authorization<C>> for DownloadAuth<'a, C>where
C: HttpClient,
Source§fn from(auth: &'a mut Authorization<C>) -> Self
fn from(auth: &'a mut Authorization<C>) -> Self
Converts to this type from the input type.
Source§impl<'a, C> From<&'a mut DownloadAuthorization<C>> for DownloadAuth<'a, C>where
C: HttpClient,
impl<'a, C> From<&'a mut DownloadAuthorization<C>> for DownloadAuth<'a, C>where
C: HttpClient,
Source§fn from(auth: &'a mut DownloadAuthorization<C>) -> Self
fn from(auth: &'a mut DownloadAuthorization<C>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, C> Freeze for DownloadAuth<'a, C>
impl<'a, C> RefUnwindSafe for DownloadAuth<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for DownloadAuth<'a, C>where
C: Send,
impl<'a, C> Sync for DownloadAuth<'a, C>where
C: Sync,
impl<'a, C> Unpin for DownloadAuth<'a, C>
impl<'a, C> !UnwindSafe for DownloadAuth<'a, C>
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