Struct Mode
#[repr(transparent)]pub struct Mode(pub c_int);👎Deprecated:
ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Tuple Fields§
§0: c_int👎Deprecated:
ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Implementations§
§impl Mode
impl Mode
pub const GRACEFUL: Self
👎Deprecated: ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
pub const GRACEFUL: Self
ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Gracefully power down
pub const GRACEFUL_REBOOT: Self
👎Deprecated: ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
pub const GRACEFUL_REBOOT: Self
ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Gracefully reboot
pub const IMMEDIATE: Self
👎Deprecated: ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
pub const IMMEDIATE: Self
ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Immediately power down system, without unmounting or syncing filesystems
pub const IMMEDIATE_REBOOT: Self
👎Deprecated: ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
pub const IMMEDIATE_REBOOT: Self
ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Immediately reboot the system, without unmounting or syncing filesystems
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Mode
impl UnwindSafe for Mode
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