pub struct TransactionCostMetricsSender { /* private fields */ }
Implementations
sourceimpl TransactionCostMetricsSender
impl TransactionCostMetricsSender
pub fn new(
cost_model: Arc<RwLock<CostModel>>,
metrics_sender: Sender<TransactionCostMetrics>
) -> Self
pub fn send_cost_details<'a>(
&self,
bank: Arc<Bank>,
txs: impl Iterator<Item = &'a SanitizedTransaction>
)
Auto Trait Implementations
impl RefUnwindSafe for TransactionCostMetricsSender
impl Send for TransactionCostMetricsSender
impl Sync for TransactionCostMetricsSender
impl Unpin for TransactionCostMetricsSender
impl UnwindSafe for TransactionCostMetricsSender
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more