Struct solace_rs::message::inbound::InboundMessage
source · pub struct InboundMessage { /* private fields */ }Implementations§
source§impl InboundMessage
impl InboundMessage
pub fn get_receive_timestamp(&self) -> Result<Option<SystemTime>, SolaceError>
pub fn get_sender_id(&self) -> Result<Option<&str>, SolaceError>
pub fn is_discard_indication(&self) -> bool
Trait Implementations§
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]>, SolaceError>
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, SolaceError>
fn get_correlation_id(&'a self) -> Result<Option<&'a str>, SolaceError>
fn get_expiration(&'a self) -> i64
fn get_priority(&'a self) -> Result<Option<u8>, SolaceError>
fn get_sequence_number(&'a self) -> Result<Option<i64>, SolaceError>
fn get_destination(&'a self) -> Result<Option<MessageDestination>, SolaceError>
fn get_sender_timestamp(&'a self) -> Result<Option<SystemTime>, SolaceError>
fn get_user_data(&'a self) -> Result<Option<&'a [u8]>, SolaceError>
impl Send for InboundMessage
Auto Trait Implementations§
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