[−][src]Enum exonum_node::FlushPoolStrategy
Strategy to flush transactions into the pool.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Never flush the transactions to the persistent pool.
This setting is best for performance, but may harm the availability of some APIs of the node
(e.g., the GET transactions
endpoint of the explorer service).
Flush transactions on the specified timeout in milliseconds.
The recommended values are order of 20ms.
Fields of Timeout
timeout: Milliseconds
Timeout value in milliseconds.
Flush each transaction after receiving it.
Beware that this setting can harm performance of the node under high load.
Trait Implementations
impl Clone for FlushPoolStrategy
[src]
fn clone(&self) -> FlushPoolStrategy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FlushPoolStrategy
[src]
impl Default for FlushPoolStrategy
[src]
impl<'de> Deserialize<'de> for FlushPoolStrategy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<FlushPoolStrategy> for FlushPoolStrategy
[src]
fn eq(&self, other: &FlushPoolStrategy) -> bool
[src]
fn ne(&self, other: &FlushPoolStrategy) -> bool
[src]
impl Serialize for FlushPoolStrategy
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for FlushPoolStrategy
[src]
Auto Trait Implementations
impl RefUnwindSafe for FlushPoolStrategy
impl Send for FlushPoolStrategy
impl Sync for FlushPoolStrategy
impl Unpin for FlushPoolStrategy
impl UnwindSafe for FlushPoolStrategy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,