pub struct ClogState {
pub expires_at: Duration,
}Expand description
Simple clog state - just tracks when it expires
Fields§
§expires_at: DurationWhen the clog expires and writes can resume (in simulation time)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClogState
impl RefUnwindSafe for ClogState
impl Send for ClogState
impl Sync for ClogState
impl Unpin for ClogState
impl UnwindSafe for ClogState
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more