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