pub struct Logout(/* private fields */);Expand description
The Logout (35=5) message.
Implementations§
Source§impl Logout
impl Logout
pub const MSG_TYPE: &[u8] = b"5"
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 encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedTextLen (354) field.
Sourcepub fn encoded_text(&self) -> Option<&[u8]>
pub fn encoded_text(&self) -> Option<&[u8]>
The EncodedText (355) field.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Logout
impl Forget for Logout
impl Move for Logout
impl RefUnwindSafe for Logout
impl Send for Logout
impl Sync for Logout
impl Unpin for Logout
impl UnsafeUnpin for Logout
impl UnwindSafe for Logout
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