Struct SessionLevelRejectEvent
pub struct SessionLevelRejectEvent<'a> { /* private fields */ }Expand description
Session-level reject event
Received when a session-level Reject message (MsgType=3) arrives. This indicates a protocol-level error at the session layer.
§Lifetime
The lifetime 'a ensures this event cannot outlive the callback scope.
Implementations§
§impl<'a> SessionLevelRejectEvent<'a>
impl<'a> SessionLevelRejectEvent<'a>
pub fn reject_message(&self) -> Option<&'a FixMessage>
pub fn reject_message(&self) -> Option<&'a FixMessage>
Get the reject message
Returns the session-level Reject message received from the counterparty.
§Returns
Some(&FixMessage)- The reject messageNone- Should never happen (reject events always have a message)
Auto Trait Implementations§
impl<'a> Freeze for SessionLevelRejectEvent<'a>
impl<'a> RefUnwindSafe for SessionLevelRejectEvent<'a>
impl<'a> Send for SessionLevelRejectEvent<'a>
impl<'a> Sync for SessionLevelRejectEvent<'a>
impl<'a> Unpin for SessionLevelRejectEvent<'a>
impl<'a> UnwindSafe for SessionLevelRejectEvent<'a>
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