pub struct BenchmarkSinkPluginSession { /* private fields */ }Implementations§
Source§impl BenchmarkSinkPluginSession
impl BenchmarkSinkPluginSession
pub fn from_registry( registry: &PluginRegistry, references: impl IntoIterator<Item = PluginReference>, ) -> Result<Self, PluginSelectionError>
pub fn is_empty(&self) -> bool
pub fn references(&self) -> &[PluginReference]
pub fn on_event_batch_json( &self, batch_json: &str, ) -> Result<BenchmarkSinkReport, BenchmarkSinkError>
pub fn on_event_batch_report_json( &self, batch_json: &str, ) -> Result<String, BenchmarkSinkError>
pub fn on_event_batch(&self, batch: &BenchmarkEventBatch) -> BenchmarkSinkReport
pub fn flush(&self) -> BenchmarkSinkReport
pub fn flush_json(&self) -> Result<String, BenchmarkSinkError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BenchmarkSinkPluginSession
impl !UnwindSafe for BenchmarkSinkPluginSession
impl Freeze for BenchmarkSinkPluginSession
impl Send for BenchmarkSinkPluginSession
impl Sync for BenchmarkSinkPluginSession
impl Unpin for BenchmarkSinkPluginSession
impl UnsafeUnpin for BenchmarkSinkPluginSession
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