pub struct BoundedInputRequestBatch { /* private fields */ }Expand description
One execution-private data value, borrowed by the SDK provider/Tool round. Compact bytes bound the measurement, not total AST allocation or RSS.
use bamboo_engine::runtime::managers::lifecycle::{project_input_request_batch, InputRequestProjection};
let InputRequestProjection::Available(batch) = project_input_request_batch("s", "e", &[]) else { panic!() };
assert!(batch.records().is_empty());ⓘ
use bamboo_engine::runtime::managers::lifecycle::BoundedInputRequestBatch;
fn requires_clone<T: Clone>() {}
requires_clone::<BoundedInputRequestBatch>();ⓘ
use bamboo_engine::runtime::managers::lifecycle::BoundedInputRequestBatch;
fn wire<T: serde::Serialize>() {}
wire::<BoundedInputRequestBatch>();Implementations§
Source§impl BoundedInputRequestBatch
impl BoundedInputRequestBatch
pub fn session_id(&self) -> &str
pub fn execution_id(&self) -> &str
pub fn records(&self) -> &[ProjectedInputRequest]
pub fn compact_bytes(&self) -> usize
Trait Implementations§
Source§impl Debug for BoundedInputRequestBatch
impl Debug for BoundedInputRequestBatch
Source§impl PartialEq for BoundedInputRequestBatch
impl PartialEq for BoundedInputRequestBatch
impl StructuralPartialEq for BoundedInputRequestBatch
Auto Trait Implementations§
impl Freeze for BoundedInputRequestBatch
impl RefUnwindSafe for BoundedInputRequestBatch
impl Send for BoundedInputRequestBatch
impl Sync for BoundedInputRequestBatch
impl Unpin for BoundedInputRequestBatch
impl UnsafeUnpin for BoundedInputRequestBatch
impl UnwindSafe for BoundedInputRequestBatch
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