pub struct RealizedRealtimePolicy<P> { /* private fields */ }Expand description
Concrete layer storage paired with the exact residency it implemented.
Implementations§
Source§impl<P> RealizedRealtimePolicy<P>
impl<P> RealizedRealtimePolicy<P>
Sourcepub fn new(policy: P, residency: LayerWeightResidency) -> Self
pub fn new(policy: P, residency: LayerWeightResidency) -> Self
Attaches the implemented residency report to a concrete policy.
Sourcepub fn into_parts(self) -> (P, LayerWeightResidency)
pub fn into_parts(self) -> (P, LayerWeightResidency)
Consumes concrete storage and its exact residency report.
Auto Trait Implementations§
impl<P> Freeze for RealizedRealtimePolicy<P>where
P: Freeze,
impl<P> RefUnwindSafe for RealizedRealtimePolicy<P>where
P: RefUnwindSafe,
impl<P> Send for RealizedRealtimePolicy<P>where
P: Send,
impl<P> Sync for RealizedRealtimePolicy<P>where
P: Sync,
impl<P> Unpin for RealizedRealtimePolicy<P>where
P: Unpin,
impl<P> UnsafeUnpin for RealizedRealtimePolicy<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for RealizedRealtimePolicy<P>where
P: 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