pub struct Logout(/* private fields */);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<'_>
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 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