pub enum EnterpriseProgressEvent {
Started {
action_uid: String,
},
Polling {
action_uid: String,
status: String,
progress: Option<f32>,
elapsed: Duration,
},
Completed {
action_uid: String,
},
Failed {
action_uid: String,
error: String,
},
}Expand description
Progress events emitted during async Enterprise operations
Variants§
Started
Action has been created/started
Polling
Polling iteration with current status
Completed
Action completed successfully
Failed
Action failed
Trait Implementations§
Source§impl Clone for EnterpriseProgressEvent
impl Clone for EnterpriseProgressEvent
Source§fn clone(&self) -> EnterpriseProgressEvent
fn clone(&self) -> EnterpriseProgressEvent
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 moreAuto Trait Implementations§
impl Freeze for EnterpriseProgressEvent
impl RefUnwindSafe for EnterpriseProgressEvent
impl Send for EnterpriseProgressEvent
impl Sync for EnterpriseProgressEvent
impl Unpin for EnterpriseProgressEvent
impl UnsafeUnpin for EnterpriseProgressEvent
impl UnwindSafe for EnterpriseProgressEvent
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