pub enum OnCompleteType {
Closure(OnCompleteClosure),
AsyncClosure(OnCompleteAsyncClosure),
None,
}
Expand description
Type to process on_progress
Variants§
Closure(OnCompleteClosure)
Box containing a closure to execute on complete
AsyncClosure(OnCompleteAsyncClosure)
Box containing a async closure to execute on complete
None
Trait Implementations§
Source§impl Debug for OnCompleteType
impl Debug for OnCompleteType
Auto Trait Implementations§
impl Freeze for OnCompleteType
impl !RefUnwindSafe for OnCompleteType
impl Send for OnCompleteType
impl !Sync for OnCompleteType
impl Unpin for OnCompleteType
impl !UnwindSafe for OnCompleteType
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