#[repr(C)]pub struct RGBLedRuntimeOptions {
pub gpio_slowdown: c_int,
pub daemon: c_int,
pub drop_privileges: c_int,
pub do_gpio_init: bool,
pub drop_priv_user: *const c_char,
pub drop_priv_group: *const c_char,
}Expand description
Runtime options to simplify doing common things for many programs such as dropping privileges and becoming a daemon.
Fields§
§gpio_slowdown: c_int§daemon: c_int§drop_privileges: c_int§do_gpio_init: bool§drop_priv_user: *const c_char§drop_priv_group: *const c_charTrait Implementations§
Source§impl Clone for RGBLedRuntimeOptions
impl Clone for RGBLedRuntimeOptions
Source§fn clone(&self) -> RGBLedRuntimeOptions
fn clone(&self) -> RGBLedRuntimeOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RGBLedRuntimeOptions
impl Debug for RGBLedRuntimeOptions
impl Copy for RGBLedRuntimeOptions
Auto Trait Implementations§
impl Freeze for RGBLedRuntimeOptions
impl RefUnwindSafe for RGBLedRuntimeOptions
impl !Send for RGBLedRuntimeOptions
impl !Sync for RGBLedRuntimeOptions
impl Unpin for RGBLedRuntimeOptions
impl UnwindSafe for RGBLedRuntimeOptions
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