Struct eva_common::op::Op
source · pub struct Op { /* private fields */ }Implementations§
source§impl Op
impl Op
pub fn new(timeout: Duration) -> Self
pub fn for_instant(t: Instant, timeout: Duration) -> Self
pub fn is_timed_out(&self) -> bool
pub fn timeout(&self) -> EResult<Duration>
pub fn is_enough(&self, expected: Duration) -> bool
pub fn enough(&self, expected: Duration) -> EResult<()>
pub fn remaining(&self, timeout: Duration) -> EResult<Duration>
Auto Trait Implementations§
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnwindSafe for Op
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