pub struct ResourceProfileV1 {Show 13 fields
pub max_ipc_frame_bytes: u32,
pub max_model_state_bytes: u32,
pub max_snapshot_bytes: u32,
pub max_handler_package_bytes: u32,
pub max_model_pack_bytes: u32,
pub max_features: u32,
pub max_pending_decisions: u32,
pub max_completed_decisions: u32,
pub max_diagnostic_records: u32,
pub request_deadline_ms: u64,
pub shutdown_deadline_ms: u64,
pub snapshot_deadline_ms: u64,
pub restart_backoff_ms: u64,
}Expand description
Bounded runtime policy shared by preview and stable v3 consumers.
Fields§
§max_ipc_frame_bytes: u32§max_model_state_bytes: u32§max_snapshot_bytes: u32§max_handler_package_bytes: u32§max_model_pack_bytes: u32§max_features: u32§max_pending_decisions: u32§max_completed_decisions: u32§max_diagnostic_records: u32§request_deadline_ms: u64§shutdown_deadline_ms: u64§snapshot_deadline_ms: u64§restart_backoff_ms: u64Implementations§
Trait Implementations§
Source§impl Clone for ResourceProfileV1
impl Clone for ResourceProfileV1
Source§fn clone(&self) -> ResourceProfileV1
fn clone(&self) -> ResourceProfileV1
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 ResourceProfileV1
impl Debug for ResourceProfileV1
Source§impl Default for ResourceProfileV1
impl Default for ResourceProfileV1
Source§impl<'de> Deserialize<'de> for ResourceProfileV1
impl<'de> Deserialize<'de> for ResourceProfileV1
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 ResourceProfileV1
Source§impl PartialEq for ResourceProfileV1
impl PartialEq for ResourceProfileV1
Source§impl Serialize for ResourceProfileV1
impl Serialize for ResourceProfileV1
impl StructuralPartialEq for ResourceProfileV1
Auto Trait Implementations§
impl Freeze for ResourceProfileV1
impl RefUnwindSafe for ResourceProfileV1
impl Send for ResourceProfileV1
impl Sync for ResourceProfileV1
impl Unpin for ResourceProfileV1
impl UnsafeUnpin for ResourceProfileV1
impl UnwindSafe for ResourceProfileV1
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