pub struct SaturationRequest<T> {
pub data: T,
pub priority: RequestPriority,
pub scope: Option<EventScope>,
}Expand description
A request to the saturator with associated scope.
Fields§
§data: TThe work data to process.
priority: RequestPriorityRequest priority.
scope: Option<EventScope>Optional scope for lifecycle tracking.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SaturationRequest<T>where
T: Freeze,
impl<T> !RefUnwindSafe for SaturationRequest<T>
impl<T> Send for SaturationRequest<T>where
T: Send,
impl<T> Sync for SaturationRequest<T>where
T: Sync,
impl<T> Unpin for SaturationRequest<T>where
T: Unpin,
impl<T> UnsafeUnpin for SaturationRequest<T>where
T: UnsafeUnpin,
impl<T> !UnwindSafe for SaturationRequest<T>
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