pub struct SessionSettingsBuilder { /* private fields */ }

Implementations§

source§

impl SessionSettingsBuilder

source

pub fn new() -> SessionSettingsBuilder

source

pub fn with_start_time(self, start_time: NaiveTime) -> Self

source

pub fn set_start_time(&mut self, start_time: NaiveTime)

source

pub fn with_sender_comp_id(self, sender_comp_id: &str) -> Self

source

pub fn set_sender_comp_id(&mut self, sender_comp_id: &str)

source

pub fn with_target_comp_id(self, target_comp_id: &str) -> Self

source

pub fn set_target_comp_id(&mut self, target_comp_id: &str)

source

pub fn with_socket_addr(self, addr: SocketAddr) -> Self

source

pub fn set_socket_addr(&mut self, addr: SocketAddr)

source

pub fn with_begin_string(self, begin_string: &str) -> Self

source

pub fn set_begin_string(&mut self, begin_string: &str)

source

pub fn with_epoch(self, epoch: &str) -> Self

source

pub fn set_epoch(&mut self, epoch: &str)

source

pub fn with_store_path(self, store_path: PathBuf) -> Self

source

pub fn set_store_path(&mut self, store_path: PathBuf)

source

pub fn with_log_dir(self, log_dir: PathBuf) -> Self

source

pub fn set_log_dir(&mut self, log_dir: PathBuf)

source

pub fn with_heartbeat_timeout(self, hb_timeout: Duration) -> Self

source

pub fn set_heartbeat_timeout(&mut self, hb_timeout: Duration)

source

pub fn build(self) -> Result<SessionSettings, ApplicationError>

Trait Implementations§

source§

impl Default for SessionSettingsBuilder

source§

fn default() -> SessionSettingsBuilder

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.