Struct obddimal::bdd_manager::dvo_schedules::TimeSizeLimit
source · [−]pub struct TimeSizeLimit {
pub interval: Duration,
pub limit: usize,
last_dvo: Instant,
pub underlying_schedule: Box<DVOScheduleEnum>,
}
Expand description
Calls the underlying DVO mode if the specified duration has passed since the last
invocation, or the nodes table exceeds the size specified in limit
.
Fields
interval: Duration
limit: usize
last_dvo: Instant
underlying_schedule: Box<DVOScheduleEnum>
Implementations
sourceimpl TimeSizeLimit
impl TimeSizeLimit
pub fn new(
interval: Duration,
limit: usize,
underlying_schedule: Box<DVOScheduleEnum>
) -> TimeSizeLimit
Trait Implementations
sourceimpl DVOSchedule for TimeSizeLimit
impl DVOSchedule for TimeSizeLimit
sourceimpl From<TimeSizeLimit> for DVOScheduleEnum
impl From<TimeSizeLimit> for DVOScheduleEnum
sourcefn from(v: TimeSizeLimit) -> DVOScheduleEnum
fn from(v: TimeSizeLimit) -> DVOScheduleEnum
Converts to this type from the input type.
sourceimpl TryInto<TimeSizeLimit> for DVOScheduleEnum
impl TryInto<TimeSizeLimit> for DVOScheduleEnum
sourcefn try_into(
self
) -> Result<TimeSizeLimit, <Self as TryInto<TimeSizeLimit>>::Error>
fn try_into(
self
) -> Result<TimeSizeLimit, <Self as TryInto<TimeSizeLimit>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TimeSizeLimit
impl Send for TimeSizeLimit
impl Sync for TimeSizeLimit
impl Unpin for TimeSizeLimit
impl UnwindSafe for TimeSizeLimit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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