Struct solana_sdk::poh_config::PohConfig[][src]

pub struct PohConfig {
    pub target_tick_duration: Duration,
    pub target_tick_count: Option<u64>,
    pub hashes_per_tick: Option<u64>,
}

Fields

target_tick_duration: Duration

The target tick rate of the cluster.

target_tick_count: Option<u64>

The target total tick count to be produced; used for testing only

hashes_per_tick: Option<u64>

How many hashes to roll before emitting the next tick entry. None enables “Low power mode”, which implies:

Implementations

impl PohConfig[src]

pub fn new_sleep(target_tick_duration: Duration) -> Self[src]

Trait Implementations

impl Clone for PohConfig[src]

impl Debug for PohConfig[src]

impl Default for PohConfig[src]

impl<'de> Deserialize<'de> for PohConfig[src]

impl Serialize for PohConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for PohConfig

impl Send for PohConfig

impl Sync for PohConfig

impl Unpin for PohConfig

impl UnwindSafe for PohConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]