pub enum SysRq {
Disable,
Enable,
AllowedFunctions(AllowedFunctions),
}
Expand description
Values controlling functions allowed to be invoked by the SysRq key
Variants§
Disable
Disable sysrq completely
Enable
Enable all functions of sysrq
AllowedFunctions(AllowedFunctions)
Bitmask of allowed sysrq functions
Implementations§
Trait Implementations§
impl Copy for SysRq
Auto Trait Implementations§
impl Freeze for SysRq
impl RefUnwindSafe for SysRq
impl Send for SysRq
impl Sync for SysRq
impl Unpin for SysRq
impl UnwindSafe for SysRq
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)