Struct tx_bakery_plutip::PlutipConfigBuilder
source · pub struct PlutipConfigBuilder { /* private fields */ }Expand description
Builder for PlutipConfig.
Implementations§
source§impl PlutipConfigBuilder
impl PlutipConfigBuilder
sourcepub fn slot_length(&mut self, value: f32) -> &mut Self
pub fn slot_length(&mut self, value: f32) -> &mut Self
Slot length configuration of the local cluster
sourcepub fn epoch_size(&mut self, value: u32) -> &mut Self
pub fn epoch_size(&mut self, value: u32) -> &mut Self
Epoch size configuration of the local cluster
sourcepub fn build(&self) -> Result<PlutipConfig, PlutipConfigBuilderError>
pub fn build(&self) -> Result<PlutipConfig, PlutipConfigBuilderError>
Trait Implementations§
source§impl Clone for PlutipConfigBuilder
impl Clone for PlutipConfigBuilder
source§fn clone(&self) -> PlutipConfigBuilder
fn clone(&self) -> PlutipConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PlutipConfigBuilder
impl RefUnwindSafe for PlutipConfigBuilder
impl Send for PlutipConfigBuilder
impl Sync for PlutipConfigBuilder
impl Unpin for PlutipConfigBuilder
impl UnwindSafe for PlutipConfigBuilder
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