pub struct OperationStatus { /* private fields */ }Implementations§
Source§impl Status
impl Status
pub fn phase(&self) -> Phase
pub fn outcome(&self) -> Option<Outcome>
pub fn cancellation_requested(&self) -> bool
pub fn dependents(&self) -> usize
pub fn cleanup_pending(&self) -> bool
pub fn cleanup_failure(&self) -> Option<&Arc<Error>>
pub fn attempt(&self) -> usize
pub fn started_at(&self) -> Option<Instant>
pub fn settled_at(&self) -> Option<Instant>
pub fn portable(&self) -> Status
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Status
impl !UnwindSafe for Status
impl Freeze for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
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