pub struct EVENTLOG(/* private fields */);
Available on crate features
kernel
and advapi
only.Expand description
HEVENTLOG::ReportEvent
event_type
u16
. undefined
Implementations§
Source§impl EVENTLOG
impl EVENTLOG
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u16
pub const unsafe fn as_mut(&mut self) -> &mut u16
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
Sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> 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) -> u16
pub const fn raw(&self) -> u16
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 EVENTLOG
impl EVENTLOG
pub const SUCCESS: Self
pub const AUDIT_FAILURE: Self
pub const AUDIT_SUCCESS: Self
pub const ERROR_TYPE: Self
pub const INFORMATION_TYPE: Self
pub const WARNING_TYPE: Self
Trait Implementations§
Source§impl Ord for EVENTLOG
impl Ord for EVENTLOG
Source§impl PartialOrd for EVENTLOG
impl PartialOrd for EVENTLOG
impl Copy for EVENTLOG
impl Eq for EVENTLOG
impl StructuralPartialEq for EVENTLOG
Auto Trait Implementations§
impl Freeze for EVENTLOG
impl RefUnwindSafe for EVENTLOG
impl Send for EVENTLOG
impl Sync for EVENTLOG
impl Unpin for EVENTLOG
impl UnwindSafe for EVENTLOG
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