pub struct OgmiosLauncherConfigBuilder { /* private fields */ }
Expand description
Builder for OgmiosLauncherConfig
.
Implementations§
source§impl OgmiosLauncherConfigBuilder
impl OgmiosLauncherConfigBuilder
pub fn node_socket(&mut self, value: PathBuf) -> &mut Self
pub fn node_config(&mut self, value: PathBuf) -> &mut Self
pub fn host(&mut self, value: String) -> &mut Self
pub fn port(&mut self, value: u16) -> &mut Self
pub fn verbose(&mut self, value: bool) -> &mut Self
pub fn network(&mut self, value: Network) -> &mut Self
pub fn timeout(&mut self, value: u32) -> &mut Self
pub fn max_in_flight(&mut self, value: u32) -> &mut Self
pub fn startup_timeout(&mut self, value: u64) -> &mut Self
sourcepub fn build(
&self
) -> Result<OgmiosLauncherConfig, OgmiosLauncherConfigBuilderError>
pub fn build( &self ) -> Result<OgmiosLauncherConfig, OgmiosLauncherConfigBuilderError>
Trait Implementations§
source§impl Clone for OgmiosLauncherConfigBuilder
impl Clone for OgmiosLauncherConfigBuilder
source§fn clone(&self) -> OgmiosLauncherConfigBuilder
fn clone(&self) -> OgmiosLauncherConfigBuilder
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 OgmiosLauncherConfigBuilder
impl RefUnwindSafe for OgmiosLauncherConfigBuilder
impl Send for OgmiosLauncherConfigBuilder
impl Sync for OgmiosLauncherConfigBuilder
impl Unpin for OgmiosLauncherConfigBuilder
impl UnwindSafe for OgmiosLauncherConfigBuilder
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more