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

A simple rule is one that just allows the syscall without restriction.

A conditional rule is a rule that uses a condition to restrict the syscall, e.g. only specific flags as parameters. Read more

The name of the profile.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.