#[non_exhaustive]pub struct NowSessionLockMsg;Expand description
The NOW_SESSION_LOCK_MSG is used to request locking the user session.
NOW_PROTO: NOW_SESSION_LOCK_MSG
Trait Implementations§
Source§impl Clone for NowSessionLockMsg
impl Clone for NowSessionLockMsg
Source§fn clone(&self) -> NowSessionLockMsg
fn clone(&self) -> NowSessionLockMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NowSessionLockMsg
impl Debug for NowSessionLockMsg
Source§impl Decode<'_> for NowSessionLockMsg
impl Decode<'_> for NowSessionLockMsg
Source§fn decode(src: &mut ReadCursor<'_>) -> DecodeResult<Self>
fn decode(src: &mut ReadCursor<'_>) -> DecodeResult<Self>
Decodes an instance of
Self from the given byte stream. Read moreSource§impl Default for NowSessionLockMsg
impl Default for NowSessionLockMsg
Source§fn default() -> NowSessionLockMsg
fn default() -> NowSessionLockMsg
Returns the “default value” for a type. Read more
Source§impl Encode for NowSessionLockMsg
impl Encode for NowSessionLockMsg
Source§impl From<NowSessionLockMsg> for NowMessage<'_>
impl From<NowSessionLockMsg> for NowMessage<'_>
Source§fn from(val: NowSessionLockMsg) -> Self
fn from(val: NowSessionLockMsg) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NowSessionLockMsg
impl PartialEq for NowSessionLockMsg
impl Eq for NowSessionLockMsg
impl StructuralPartialEq for NowSessionLockMsg
Auto Trait Implementations§
impl Freeze for NowSessionLockMsg
impl RefUnwindSafe for NowSessionLockMsg
impl Send for NowSessionLockMsg
impl Sync for NowSessionLockMsg
impl Unpin for NowSessionLockMsg
impl UnwindSafe for NowSessionLockMsg
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