pub struct BasicCapabilities;
Expand description
A RuleSet
allowing basic required syscalls to do things like allocate memory, and also a few that are used by
Rust to set up panic handling and segfault handlers.
Trait Implementations
sourceimpl RuleSet for BasicCapabilities
impl RuleSet for BasicCapabilities
sourcefn simple_rules(&self) -> Vec<Sysno>
fn simple_rules(&self) -> Vec<Sysno>
A simple rule is one that just allows the syscall without restriction.
Auto Trait Implementations
impl RefUnwindSafe for BasicCapabilities
impl Send for BasicCapabilities
impl Sync for BasicCapabilities
impl Unpin for BasicCapabilities
impl UnwindSafe for BasicCapabilities
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more