pub struct Slice<'a, T> { /* private fields */ }
Expand description
Implementations§
Trait Implementations§
Source§impl<'a, T: RequestBound> AggregateRequestBound for Slice<'a, T>
impl<'a, T: RequestBound> AggregateRequestBound for Slice<'a, T>
Source§impl<'a, T: RequestBound> RequestBound for Slice<'a, T>
impl<'a, T: RequestBound> RequestBound for Slice<'a, 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<'b>(&'b self) -> Box<dyn Iterator<Item = Duration> + 'b>
fn steps_iter<'b>(&'b self) -> Box<dyn Iterator<Item = Duration> + 'b>
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<'a, T> Freeze for Slice<'a, T>
impl<'a, T> RefUnwindSafe for Slice<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Slice<'a, T>where
T: Sync,
impl<'a, T> Sync for Slice<'a, T>where
T: Sync,
impl<'a, T> Unpin for Slice<'a, T>
impl<'a, T> UnwindSafe for Slice<'a, T>where
T: RefUnwindSafe,
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