pub struct AdmittedBudgets {
pub wall_micros: AdmittedBudget,
pub cpu_micros: AdmittedBudget,
pub resident_bytes: AdmittedBudget,
pub process_count: AdmittedBudget,
pub handle_count: AdmittedBudget,
pub storage_bytes: AdmittedBudget,
pub network_bytes: AdmittedBudget,
}Expand description
The complete admitted budget B_A bound into a BoundaryPlan.
Fields§
§wall_micros: AdmittedBudgetWall-clock contract.
cpu_micros: AdmittedBudgetCPU contract.
resident_bytes: AdmittedBudgetResident-memory contract.
process_count: AdmittedBudgetProcess-count contract.
handle_count: AdmittedBudgetHandle-count contract.
storage_bytes: AdmittedBudgetStorage contract.
network_bytes: AdmittedBudgetNetwork contract.
Trait Implementations§
Source§impl Clone for AdmittedBudgets
impl Clone for AdmittedBudgets
Source§fn clone(&self) -> AdmittedBudgets
fn clone(&self) -> AdmittedBudgets
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdmittedBudgets
impl Debug for AdmittedBudgets
Source§impl<'de> Deserialize<'de> for AdmittedBudgets
impl<'de> Deserialize<'de> for AdmittedBudgets
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdmittedBudgets
Source§impl PartialEq for AdmittedBudgets
impl PartialEq for AdmittedBudgets
Source§fn eq(&self, other: &AdmittedBudgets) -> bool
fn eq(&self, other: &AdmittedBudgets) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AdmittedBudgets
impl Serialize for AdmittedBudgets
impl StructuralPartialEq for AdmittedBudgets
Auto Trait Implementations§
impl Freeze for AdmittedBudgets
impl RefUnwindSafe for AdmittedBudgets
impl Send for AdmittedBudgets
impl Sync for AdmittedBudgets
impl Unpin for AdmittedBudgets
impl UnsafeUnpin for AdmittedBudgets
impl UnwindSafe for AdmittedBudgets
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more