#[repr(u32)]pub enum SystemEventKind {
OutOfMemory = 1,
MemoryPressureCritical = 2,
MemoryPressureWarning = 3,
MemoryPressureNormal = 4,
ImminentOutOfMemory = 5,
}Expand description
The types of system events that may be requested via system_get_event.
Variants§
OutOfMemory = 1
MemoryPressureCritical = 2
MemoryPressureWarning = 3
MemoryPressureNormal = 4
ImminentOutOfMemory = 5
Trait Implementations§
Source§impl Clone for SystemEventKind
impl Clone for SystemEventKind
Source§fn clone(&self) -> SystemEventKind
fn clone(&self) -> SystemEventKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemEventKind
Source§impl Debug for SystemEventKind
impl Debug for SystemEventKind
impl Eq for SystemEventKind
Source§impl PartialEq for SystemEventKind
impl PartialEq for SystemEventKind
impl StructuralPartialEq for SystemEventKind
Auto Trait Implementations§
impl Freeze for SystemEventKind
impl RefUnwindSafe for SystemEventKind
impl Send for SystemEventKind
impl Sync for SystemEventKind
impl Unpin for SystemEventKind
impl UnsafeUnpin for SystemEventKind
impl UnwindSafe for SystemEventKind
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