pub struct ActorHints {
pub priority: Priority,
pub workload: WorkloadKind,
}Expand description
Hints the allocator may use when assigning a stream. Forward-compatible — F1 ignores both fields, F2+ allocators (priority-pooled) consume them.
Fields§
§priority: Priority§workload: WorkloadKindTrait Implementations§
Source§impl Clone for ActorHints
impl Clone for ActorHints
Source§fn clone(&self) -> ActorHints
fn clone(&self) -> ActorHints
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActorHints
impl Debug for ActorHints
Source§impl Default for ActorHints
impl Default for ActorHints
impl Copy for ActorHints
Auto Trait Implementations§
impl Freeze for ActorHints
impl RefUnwindSafe for ActorHints
impl Send for ActorHints
impl Sync for ActorHints
impl Unpin for ActorHints
impl UnsafeUnpin for ActorHints
impl UnwindSafe for ActorHints
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