pub struct Reject(/* private fields */);Implementations§
Source§impl Reject
impl Reject
pub const MSG_TYPE: &[u8] = b"3"
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<'_>
pub fn ref_seq_num(&self) -> Result<Option<i64>, InvalidValue>
pub fn ref_tag_id(&self) -> Result<Option<i64>, InvalidValue>
pub fn ref_msg_type(&self) -> Result<Option<&str>, InvalidValue>
pub fn session_reject_reason( &self, ) -> Result<Option<SessionRejectReason>, InvalidValue>
pub fn text(&self) -> Result<Option<&str>, InvalidValue>
pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_text_raw(&self) -> Option<&[u8]>
Auto Trait Implementations§
impl !Freeze for Reject
impl RefUnwindSafe for Reject
impl Send for Reject
impl Sync for Reject
impl Unpin for Reject
impl UnsafeUnpin for Reject
impl UnwindSafe for Reject
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