pub struct WTS(/* private fields */);
Available on crate feature
kernel
only.Expand description
wm::WtsSessionChange
state
(u32
).
Implementations§
source§impl WTS
impl WTS
sourcepub const unsafe fn from_raw(v: u8) -> Self
pub const unsafe fn from_raw(v: u8) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u8
pub const fn raw(&self) -> u8
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl WTS
impl WTS
pub const CONSOLE_CONNECT: Self = _
pub const CONSOLE_DISCONNECT: Self = _
pub const REMOTE_CONNECT: Self = _
pub const REMOTE_DISCONNECT: Self = _
pub const SESSION_LOGON: Self = _
pub const SESSION_LOGOFF: Self = _
pub const SESSION_LOCK: Self = _
pub const SESSION_UNLOCK: Self = _
pub const SESSION_REMOTE_CONTROL: Self = _
pub const SESSION_CREATE: Self = _
pub const SESSION_TERMINATE: Self = _
Trait Implementations§
source§impl IntUnderlying for WTS
impl IntUnderlying for WTS
source§impl Ord for WTS
impl Ord for WTS
source§impl PartialOrd for WTS
impl PartialOrd for WTS
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for WTS
impl Eq for WTS
impl NativeConst for WTS
impl Send for WTS
impl StructuralPartialEq for WTS
Auto Trait Implementations§
impl Freeze for WTS
impl RefUnwindSafe for WTS
impl Sync for WTS
impl Unpin for WTS
impl UnwindSafe for WTS
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