pub enum ProgressPhase {
Upload,
Download,
}Expand description
Whether a progress event relates to uploading or downloading.
Variants§
Upload
Upload phase (writing the request body).
Download
Download phase (reading the response body).
Trait Implementations§
Source§impl Clone for ProgressPhase
impl Clone for ProgressPhase
Source§fn clone(&self) -> ProgressPhase
fn clone(&self) -> ProgressPhase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgressPhase
impl Debug for ProgressPhase
Source§impl PartialEq for ProgressPhase
impl PartialEq for ProgressPhase
impl Copy for ProgressPhase
impl Eq for ProgressPhase
impl StructuralPartialEq for ProgressPhase
Auto Trait Implementations§
impl Freeze for ProgressPhase
impl RefUnwindSafe for ProgressPhase
impl Send for ProgressPhase
impl Sync for ProgressPhase
impl Unpin for ProgressPhase
impl UnsafeUnpin for ProgressPhase
impl UnwindSafe for ProgressPhase
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