pub struct WorkloadTransportCredit {
pub control_bytes: u64,
pub control_frames: u64,
pub bulk_bytes: u64,
pub bulk_frames: u64,
}Expand description
Absolute aggregate input grants in core.workload.transport.credit.
Grants advance only as guest consumers release admitted input. Updates may be coalesced; applying one twice never grants additional capacity. Both byte and frame limits bound retained data without making lifecycle progress depend on a workload consuming stdin or a network socket becoming writable.
Fields§
§control_bytes: u64Cumulative command/control wire-byte limit.
control_frames: u64Cumulative command/control frame limit.
bulk_bytes: u64Cumulative data wire-byte limit across both physical ports.
bulk_frames: u64Cumulative data record/message limit across both physical ports.
Trait Implementations§
Source§impl Clone for WorkloadTransportCredit
impl Clone for WorkloadTransportCredit
Source§fn clone(&self) -> WorkloadTransportCredit
fn clone(&self) -> WorkloadTransportCredit
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 moreimpl Copy for WorkloadTransportCredit
Source§impl Debug for WorkloadTransportCredit
impl Debug for WorkloadTransportCredit
Source§impl Default for WorkloadTransportCredit
impl Default for WorkloadTransportCredit
Source§fn default() -> WorkloadTransportCredit
fn default() -> WorkloadTransportCredit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkloadTransportCredit
impl<'de> Deserialize<'de> for WorkloadTransportCredit
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 WorkloadTransportCredit
Source§impl PartialEq for WorkloadTransportCredit
impl PartialEq for WorkloadTransportCredit
Source§impl Serialize for WorkloadTransportCredit
impl Serialize for WorkloadTransportCredit
impl StructuralPartialEq for WorkloadTransportCredit
Auto Trait Implementations§
impl Freeze for WorkloadTransportCredit
impl RefUnwindSafe for WorkloadTransportCredit
impl Send for WorkloadTransportCredit
impl Sync for WorkloadTransportCredit
impl Unpin for WorkloadTransportCredit
impl UnsafeUnpin for WorkloadTransportCredit
impl UnwindSafe for WorkloadTransportCredit
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