pub struct Logon(/* private fields */);Expand description
The Logon (35=A) message.
Implementations§
Source§impl Logon
impl Logon
pub const MSG_TYPE: &[u8] = b"A"
pub const KNOWN_TAGS: KnownTags<'static>
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn encrypt_method(&self) -> Result<Option<EncryptMethod>, InvalidValue>
pub fn encrypt_method(&self) -> Result<Option<EncryptMethod>, InvalidValue>
The EncryptMethod (98) field.
Sourcepub fn heart_bt_int(&self) -> Result<Option<i64>, InvalidValue>
pub fn heart_bt_int(&self) -> Result<Option<i64>, InvalidValue>
The HeartBtInt (108) field.
Sourcepub fn raw_data_length(&self) -> Result<Option<i64>, InvalidValue>
pub fn raw_data_length(&self) -> Result<Option<i64>, InvalidValue>
The RawDataLength (95) field.
Sourcepub fn reset_seq_num_flag(&self) -> Result<Option<bool>, InvalidValue>
pub fn reset_seq_num_flag(&self) -> Result<Option<bool>, InvalidValue>
The ResetSeqNumFlag (141) field.
Sourcepub fn next_expected_msg_seq_num(&self) -> Result<Option<i64>, InvalidValue>
pub fn next_expected_msg_seq_num(&self) -> Result<Option<i64>, InvalidValue>
The NextExpectedMsgSeqNum (789) field.
Sourcepub fn max_message_size(&self) -> Result<Option<i64>, InvalidValue>
pub fn max_message_size(&self) -> Result<Option<i64>, InvalidValue>
The MaxMessageSize (383) field.
Sourcepub fn msg_types(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn msg_types(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoMsgTypes (384) group.
Sourcepub fn test_message_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn test_message_indicator(&self) -> Result<Option<bool>, InvalidValue>
The TestMessageIndicator (464) field.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Logon
impl Forget for Logon
impl Move for Logon
impl RefUnwindSafe for Logon
impl Send for Logon
impl Sync for Logon
impl Unpin for Logon
impl UnsafeUnpin for Logon
impl UnwindSafe for Logon
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