pub struct TaskUnderAnalysis<'a, RBF: RequestBound + ?Sized> {
pub rbf: &'a RBF,
pub blocking_bound: Service,
}
Expand description
The information about the task under analysis required to perform the analysis. Create one struct of this type to represent the task under analysis.
Fields§
§rbf: &'a RBF
The RBF upper-bounding the task’s demand.
blocking_bound: Service
The blocking_bound
must be a bound on the maximum priority
inversion caused by tasks of lower priority, which corresponds
to the maximum non-preemptive segment of any lower-priority
task.
Auto Trait Implementations§
impl<'a, RBF> Freeze for TaskUnderAnalysis<'a, RBF>where
RBF: ?Sized,
impl<'a, RBF> RefUnwindSafe for TaskUnderAnalysis<'a, RBF>where
RBF: RefUnwindSafe + ?Sized,
impl<'a, RBF> Send for TaskUnderAnalysis<'a, RBF>
impl<'a, RBF> Sync for TaskUnderAnalysis<'a, RBF>
impl<'a, RBF> Unpin for TaskUnderAnalysis<'a, RBF>where
RBF: ?Sized,
impl<'a, RBF> UnwindSafe for TaskUnderAnalysis<'a, RBF>where
RBF: RefUnwindSafe + ?Sized,
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> 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