pub enum Fresh {
Force,
MaxAge(Duration),
}Expand description
How fresh a reading must be.
Variants§
Force
Ask the phone for a new dump and wait for it.
MaxAge(Duration)
Accept the latest dump if it is at most this old.
Trait Implementations§
impl Copy for Fresh
impl StructuralPartialEq for Fresh
Auto Trait Implementations§
impl Forget for Fresh
impl Freeze for Fresh
impl Move for Fresh
impl RefUnwindSafe for Fresh
impl Send for Fresh
impl Sync for Fresh
impl Unpin for Fresh
impl UnsafeUnpin for Fresh
impl UnwindSafe for Fresh
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