pub struct PerformanceBudget {
pub max_latency_ms: u64,
pub max_memory_mb: usize,
pub priority: ExecutionPriority,
}Expand description
Performance budget for plugin execution
Fields§
§max_latency_ms: u64§max_memory_mb: usize§priority: ExecutionPriorityTrait Implementations§
Source§impl Clone for PerformanceBudget
impl Clone for PerformanceBudget
Source§fn clone(&self) -> PerformanceBudget
fn clone(&self) -> PerformanceBudget
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 PerformanceBudget
impl Debug for PerformanceBudget
Source§impl From<PerformanceBudget> for SerializablePerformanceBudget
impl From<PerformanceBudget> for SerializablePerformanceBudget
Source§fn from(budget: PerformanceBudget) -> Self
fn from(budget: PerformanceBudget) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PerformanceBudget
impl RefUnwindSafe for PerformanceBudget
impl Send for PerformanceBudget
impl Sync for PerformanceBudget
impl Unpin for PerformanceBudget
impl UnsafeUnpin for PerformanceBudget
impl UnwindSafe for PerformanceBudget
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