pub struct CompiledPolicy {
pub maps_layout: MapsLayout,
pub allowed_env_vars: Vec<String>,
}
Expand description
Compiled representation of a Policy
.
Fields§
§maps_layout: MapsLayout
Serialized entries ready for BPF maps.
allowed_env_vars: Vec<String>
Names of environment variables allowed for reads.
Trait Implementations§
Source§impl Clone for CompiledPolicy
impl Clone for CompiledPolicy
Source§fn clone(&self) -> CompiledPolicy
fn clone(&self) -> CompiledPolicy
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 moreAuto Trait Implementations§
impl Freeze for CompiledPolicy
impl RefUnwindSafe for CompiledPolicy
impl Send for CompiledPolicy
impl Sync for CompiledPolicy
impl Unpin for CompiledPolicy
impl UnwindSafe for CompiledPolicy
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