pub struct InboundMessage { /* private fields */ }Implementations§
Source§impl InboundMessage
impl InboundMessage
pub fn get_receive_timestamp(&self) -> Result<Option<SystemTime>, MessageError>
pub fn get_sender_id(&self) -> Result<Option<&str>, MessageError>
pub fn is_discard_indication(&self) -> bool
pub fn get_cache_request_id(&self) -> Result<Option<u64>, MessageError>
pub fn is_cache_msg(&self) -> CacheStatus
Trait Implementations§
Source§impl Debug for InboundMessage
impl Debug for InboundMessage
Source§impl Drop for InboundMessage
impl Drop for InboundMessage
Source§impl From<*mut c_void> for InboundMessage
impl From<*mut c_void> for InboundMessage
Source§fn from(ptr: solClient_opaqueMsg_pt) -> Self
fn from(ptr: solClient_opaqueMsg_pt) -> Self
.
§Safety
From a valid owned pointer. No other alias should exist for this pointer InboundMessage will try to free the ptr when it is destroyed
.
Source§impl<'a> Message<'a> for InboundMessage
impl<'a> Message<'a> for InboundMessage
Source§unsafe fn get_raw_message_ptr(&self) -> solClient_opaqueMsg_pt
unsafe fn get_raw_message_ptr(&self) -> solClient_opaqueMsg_pt
fn get_payload(&'a self) -> Result<Option<&'a [u8]>, MessageError>
fn get_xml_part(&'a self) -> Result<Option<&'a [u8]>, MessageError>
fn get_application_message_id(&'a self) -> Option<&'a str>
fn get_application_msg_type(&'a self) -> Option<&'a str>
fn get_class_of_service(&'a self) -> Result<ClassOfService, MessageError>
fn get_correlation_id(&'a self) -> Result<Option<&'a str>, MessageError>
fn is_eliding_eligible(&'a self) -> bool
fn get_expiration(&'a self) -> i64
fn get_priority(&'a self) -> Result<Option<u8>, MessageError>
fn get_sequence_number(&'a self) -> Result<Option<i64>, MessageError>
fn get_destination(&'a self) -> Result<Option<MessageDestination>, MessageError>
fn get_reply_to(&'a self) -> Result<Option<MessageDestination>, MessageError>
fn is_reply(&'a self) -> bool
fn get_sender_timestamp(&'a self) -> Result<Option<SystemTime>, MessageError>
fn get_user_data(&'a self) -> Result<Option<&'a [u8]>, MessageError>
impl Send for InboundMessage
Auto Trait Implementations§
impl Freeze for InboundMessage
impl RefUnwindSafe for InboundMessage
impl !Sync for InboundMessage
impl Unpin for InboundMessage
impl UnwindSafe for InboundMessage
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