pub struct Aggregate<T> { /* private fields */ }
Expand description
A wrapper type for representing the total demand of a vector of individual demand sources (e.g., all higher-priority tasks).
Implementations§
Trait Implementations§
Source§impl<T: RequestBound> AggregateRequestBound for Aggregate<T>
impl<T: RequestBound> AggregateRequestBound for Aggregate<T>
Source§impl<T: RequestBound> RequestBound for Aggregate<T>
impl<T: RequestBound> RequestBound for Aggregate<T>
Source§fn service_needed(&self, delta: Duration) -> Service
fn service_needed(&self, delta: Duration) -> Service
Bound the total amount of service needed in an interval of length
delta
.Source§fn least_wcet_in_interval(&self, delta: Duration) -> Service
fn least_wcet_in_interval(&self, delta: Duration) -> Service
Expose the smallest WCET of any job encountered in an interval of length
delta
.Source§fn steps_iter<'a>(&'a self) -> Box<dyn Iterator<Item = Duration> + 'a>
fn steps_iter<'a>(&'a self) -> Box<dyn Iterator<Item = Duration> + 'a>
Yield an iterator over the interval lengths (i.e., values of
delta
in
RequestBound::service_needed) at which the cumulative demand changes. Read moreAuto Trait Implementations§
impl<T> Freeze for Aggregate<T>
impl<T> RefUnwindSafe for Aggregate<T>where
T: RefUnwindSafe,
impl<T> Send for Aggregate<T>where
T: Send,
impl<T> Sync for Aggregate<T>where
T: Sync,
impl<T> Unpin for Aggregate<T>where
T: Unpin,
impl<T> UnwindSafe for Aggregate<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more