pub struct Options {
pub max_count: usize,
pub max_per_sender: usize,
pub max_mem_usage: usize,
}Expand description
Transaction Pool options.
Fields§
§max_count: usizeMaximal number of transactions in the pool.
max_per_sender: usizeMaximal number of transactions from single sender.
max_mem_usage: usizeMaximal memory usage.
Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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