pub struct EVENTLOG(/* private fields */);
Available on crate feature
kernel
only.Expand description
HEVENTLOG::ReportEvent
event_type
u16
.
Implementations§
source§impl EVENTLOG
impl EVENTLOG
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 IntUnderlying for EVENTLOG
impl IntUnderlying for EVENTLOG
source§impl Ord for EVENTLOG
impl Ord for EVENTLOG
source§impl PartialEq for EVENTLOG
impl PartialEq for EVENTLOG
source§impl PartialOrd for EVENTLOG
impl PartialOrd for EVENTLOG
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 EVENTLOG
impl Eq for EVENTLOG
impl NativeConst for EVENTLOG
impl Send for EVENTLOG
impl StructuralPartialEq for EVENTLOG
Auto Trait Implementations§
impl Freeze for EVENTLOG
impl RefUnwindSafe 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