pub enum ProgressAction {
Continue,
Interrupt,
}
Expand description
Allow the read-progress handler to determine how to continue.
Variants§
Continue
Continue reading the next progress if available.
Interrupt
Abort all IO even if more would be available, claiming the operation was interrupted.
Trait Implementations§
source§impl Clone for ProgressAction
impl Clone for ProgressAction
source§fn clone(&self) -> ProgressAction
fn clone(&self) -> ProgressAction
Returns a copy 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 ProgressAction
impl Debug for ProgressAction
source§impl PartialEq for ProgressAction
impl PartialEq for ProgressAction
impl Copy for ProgressAction
impl Eq for ProgressAction
impl StructuralPartialEq for ProgressAction
Auto Trait Implementations§
impl Freeze for ProgressAction
impl RefUnwindSafe for ProgressAction
impl Send for ProgressAction
impl Sync for ProgressAction
impl Unpin for ProgressAction
impl UnwindSafe for ProgressAction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)