Struct forgefix::SessionSettingsBuilder
source · pub struct SessionSettingsBuilder { /* private fields */ }Implementations§
source§impl SessionSettingsBuilder
impl SessionSettingsBuilder
pub fn new() -> SessionSettingsBuilder
pub fn with_start_time(self, start_time: NaiveTime) -> Self
pub fn set_start_time(&mut self, start_time: NaiveTime)
pub fn with_sender_comp_id(self, sender_comp_id: &str) -> Self
pub fn set_sender_comp_id(&mut self, sender_comp_id: &str)
pub fn with_target_comp_id(self, target_comp_id: &str) -> Self
pub fn set_target_comp_id(&mut self, target_comp_id: &str)
pub fn with_socket_addr(self, addr: SocketAddr) -> Self
pub fn set_socket_addr(&mut self, addr: SocketAddr)
pub fn with_begin_string(self, begin_string: &str) -> Self
pub fn set_begin_string(&mut self, begin_string: &str)
pub fn with_epoch(self, epoch: &str) -> Self
pub fn set_epoch(&mut self, epoch: &str)
pub fn with_store_path(self, store_path: PathBuf) -> Self
pub fn set_store_path(&mut self, store_path: PathBuf)
pub fn with_log_dir(self, log_dir: PathBuf) -> Self
pub fn set_log_dir(&mut self, log_dir: PathBuf)
pub fn with_heartbeat_timeout(self, hb_timeout: Duration) -> Self
pub fn set_heartbeat_timeout(&mut self, hb_timeout: Duration)
pub fn build(self) -> Result<SessionSettings, ApplicationError>
Trait Implementations§
source§impl Default for SessionSettingsBuilder
impl Default for SessionSettingsBuilder
source§fn default() -> SessionSettingsBuilder
fn default() -> SessionSettingsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SessionSettingsBuilder
impl Send for SessionSettingsBuilder
impl Sync for SessionSettingsBuilder
impl Unpin for SessionSettingsBuilder
impl UnwindSafe for SessionSettingsBuilder
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