pub struct ExecPolicy {
pub allow_prefixes: Vec<String>,
}Expand description
Policy used by the exec transport to constrain which programs may be executed.
Fields§
§allow_prefixes: Vec<String>Canonical path prefixes that executable targets must reside under.
Trait Implementations§
Source§impl Clone for ExecPolicy
impl Clone for ExecPolicy
Source§fn clone(&self) -> ExecPolicy
fn clone(&self) -> ExecPolicy
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 ExecPolicy
impl Debug for ExecPolicy
Source§impl Default for ExecPolicy
impl Default for ExecPolicy
Source§impl PartialEq for ExecPolicy
impl PartialEq for ExecPolicy
impl Eq for ExecPolicy
impl StructuralPartialEq for ExecPolicy
Auto Trait Implementations§
impl Freeze for ExecPolicy
impl RefUnwindSafe for ExecPolicy
impl Send for ExecPolicy
impl Sync for ExecPolicy
impl Unpin for ExecPolicy
impl UnsafeUnpin for ExecPolicy
impl UnwindSafe for ExecPolicy
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