pub struct Inner<T>{
pub entries: RwLock<Vec<Entry<T>>>,
pub timer: Mutex<Option<JoinHandle<()>>>,
pub interval: RwLock<Duration>,
pub next_reset: RwLock<Instant>,
}Fields§
§entries: RwLock<Vec<Entry<T>>>§timer: Mutex<Option<JoinHandle<()>>>§interval: RwLock<Duration>§next_reset: RwLock<Instant>Auto Trait Implementations§
impl<T> !Freeze for Inner<T>
impl<T> !RefUnwindSafe for Inner<T>
impl<T> !UnwindSafe for Inner<T>
impl<T> Send for Inner<T>
impl<T> Sync for Inner<T>
impl<T> Unpin for Inner<T>where
T: Unpin,
impl<T> UnsafeUnpin for Inner<T>
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