pub struct InterceptConfig {}Fields§
§npm: bool§pnpm: bool§yarn: bool§bun: bool§tsc: bool§eslint: bool§pytest: bool§cargo: bool§go: bool§git: bool§rg: bool§grep: bool§find: bool§ls: bool§tree: bool§docker: boolImplementations§
Source§impl InterceptConfig
impl InterceptConfig
Sourcepub fn is_enabled(&self, shim: &str) -> bool
pub fn is_enabled(&self, shim: &str) -> bool
Whether a given shim name is enabled for interception.
Sourcepub fn enabled_shims(&self) -> Vec<&'static str>
pub fn enabled_shims(&self) -> Vec<&'static str>
The enabled shim names, in a stable order.
Trait Implementations§
Source§impl Clone for InterceptConfig
impl Clone for InterceptConfig
Source§fn clone(&self) -> InterceptConfig
fn clone(&self) -> InterceptConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InterceptConfig
impl Debug for InterceptConfig
Source§impl Default for InterceptConfig
impl Default for InterceptConfig
Source§impl<'de> Deserialize<'de> for InterceptConfigwhere
InterceptConfig: Default,
impl<'de> Deserialize<'de> for InterceptConfigwhere
InterceptConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InterceptConfig
impl RefUnwindSafe for InterceptConfig
impl Send for InterceptConfig
impl Sync for InterceptConfig
impl Unpin for InterceptConfig
impl UnsafeUnpin for InterceptConfig
impl UnwindSafe for InterceptConfig
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