Struct eva_common::op::Op
source · [−]pub struct Op { /* private fields */ }Implementations
sourceimpl 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
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more