Struct easyfix_session::Sender
source · pub struct Sender { /* private fields */ }
Implementations§
source§impl Sender
impl Sender
sourcepub fn send_raw(&self, msg: Box<FixtMessage>) -> Result<(), Box<FixtMessage>>
pub fn send_raw(&self, msg: Box<FixtMessage>) -> Result<(), Box<FixtMessage>>
Send FIXT message.
All header and trailer fields can be also adjusted when handing
FixEvent::AppMsgOut
and FixEvent::AdmMsgOut
.
Before serialziation following header fields will be filled:
- begin_string (if not empty)
- msg_type
- sender_comp_id (if not empty)
- target_comp_id (if not empty)
- sending_time (if eq UtcTimestamp::MIN_UTC)
- msg_seq_num (if eq 0)
The checksum(10) field value is always ignored - it is computed and set after serialziation.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Sender
impl Send for Sender
impl Sync for Sender
impl Unpin for Sender
impl !UnwindSafe for Sender
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