pub struct SessionConfigBuilder { /* private fields */ }Expand description
Builder for session configuration.
Implementations§
Source§impl SessionConfigBuilder
impl SessionConfigBuilder
Sourcepub fn new() -> SessionConfigBuilder
pub fn new() -> SessionConfigBuilder
Creates a new builder.
Sourcepub fn sender_comp_id(self, id: CompId) -> SessionConfigBuilder
pub fn sender_comp_id(self, id: CompId) -> SessionConfigBuilder
Sets the sender CompID.
Sourcepub fn target_comp_id(self, id: CompId) -> SessionConfigBuilder
pub fn target_comp_id(self, id: CompId) -> SessionConfigBuilder
Sets the target CompID.
Sourcepub fn begin_string(self, version: impl Into<String>) -> SessionConfigBuilder
pub fn begin_string(self, version: impl Into<String>) -> SessionConfigBuilder
Sets the FIX version.
Sourcepub fn heartbeat_interval(self, interval: Duration) -> SessionConfigBuilder
pub fn heartbeat_interval(self, interval: Duration) -> SessionConfigBuilder
Sets the heartbeat interval.
Sourcepub const fn reset_on_logon(self, reset: bool) -> SessionConfigBuilder
pub const fn reset_on_logon(self, reset: bool) -> SessionConfigBuilder
Sets whether to reset on logon.
Sourcepub fn build(self) -> SessionConfig
pub fn build(self) -> SessionConfig
Trait Implementations§
Source§impl Debug for SessionConfigBuilder
impl Debug for SessionConfigBuilder
Source§impl Default for SessionConfigBuilder
impl Default for SessionConfigBuilder
Source§fn default() -> SessionConfigBuilder
fn default() -> SessionConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionConfigBuilder
impl RefUnwindSafe for SessionConfigBuilder
impl Send for SessionConfigBuilder
impl Sync for SessionConfigBuilder
impl Unpin for SessionConfigBuilder
impl UnwindSafe for SessionConfigBuilder
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