pub struct NegotiationRequest {
pub target_latency: Duration,
pub priority_weight: f32,
pub constraints: ResourceConstraints,
}Expand description
A request sent by the DCC to an Agent to negotiate resources.
Fields§
§target_latency: DurationThe target latency for the frame or subsystem (e.g. 16.6ms).
priority_weight: f32Priority weight (0.0 to 1.0) assigned by the DCC.
constraints: ResourceConstraintsHard resource constraints that any proposed strategy must respect.
Trait Implementations§
Source§impl Clone for NegotiationRequest
impl Clone for NegotiationRequest
Source§fn clone(&self) -> NegotiationRequest
fn clone(&self) -> NegotiationRequest
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 moreAuto Trait Implementations§
impl Freeze for NegotiationRequest
impl RefUnwindSafe for NegotiationRequest
impl Send for NegotiationRequest
impl Sync for NegotiationRequest
impl Unpin for NegotiationRequest
impl UnwindSafe for NegotiationRequest
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