Enum syd::lock_state_t
source · #[repr(u8)]pub enum lock_state_t {
LOCK_OFF = 0,
LOCK_EXEC = 1,
LOCK_ON = 2,
}Expand description
An enumeration of the possible states for the sandbox lock.
Variants§
LOCK_OFF = 0
The sandbox lock is off, allowing all sandbox commands.
LOCK_EXEC = 1
The sandbox lock is set to on for all processes except the initial process (Sydb☮x exec child). This is the default state.
LOCK_ON = 2
The sandbox lock is on, disallowing all sandbox commands.
Auto Trait Implementations§
impl RefUnwindSafe for lock_state_t
impl Send for lock_state_t
impl Sync for lock_state_t
impl Unpin for lock_state_t
impl UnwindSafe for lock_state_t
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