pub struct VectorRuntime<L>{ /* private fields */ }Implementations§
Source§impl<L> VectorRuntime<L>
impl<L> VectorRuntime<L>
pub fn from_template( memory: &GuestMemory, state: &GuestState, lift_block: L, config: VectorConfig, ) -> VectorResult<Self>
pub fn snapshot(&mut self) -> VectorResult<VectorSnapshot>
pub fn run_batch<F>( &mut self, snapshot: &VectorSnapshot, inputs: [&[u8]; 8], block_limit: u64, inject: F, ) -> VectorResult<[LaneResult; 8]>
pub fn read_lane_memory( &mut self, lane: usize, address: u64, bytes: &mut [u8], ) -> VectorResult<()>
pub fn cache_len(&self) -> usize
Auto Trait Implementations§
impl<L> !Send for VectorRuntime<L>
impl<L> !Sync for VectorRuntime<L>
impl<L> Freeze for VectorRuntime<L>where
L: Freeze,
impl<L> RefUnwindSafe for VectorRuntime<L>where
L: RefUnwindSafe,
impl<L> Unpin for VectorRuntime<L>where
L: Unpin,
impl<L> UnsafeUnpin for VectorRuntime<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for VectorRuntime<L>where
L: UnwindSafe,
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