struct CachedShaper {
generation: u64,
scheduler: Arc<Scheduler>,
}Expand description
What SessionShaper keeps behind its lock.
Fields§
§generation: u64The proxy profile generation this scheduler was built from. A mismatch against the plane’s is the whole of the “something changed” signal — comparing profiles would clone one per stream.
scheduler: Arc<Scheduler>The scheduler every stream opened since the last swap is using.
Auto Trait Implementations§
impl Freeze for CachedShaper
impl RefUnwindSafe for CachedShaper
impl Send for CachedShaper
impl Sync for CachedShaper
impl Unpin for CachedShaper
impl UnsafeUnpin for CachedShaper
impl UnwindSafe for CachedShaper
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