pub struct CalleeUse {
pub callee_path: String,
pub span_start: u32,
}Expand description
A statically flattenable callee path invoked in a module (e.g. execSync,
child_process.exec, console.log). One entry per unique callee_path
per module; the span anchors the first occurrence. Consumed by the
boundaries.calls.forbidden detector.
Fields§
§callee_path: StringThe dotted or bare callee path as written at the call site.
span_start: u32Start byte offset of the first call site using this path.
Trait Implementations§
impl<'__de> Decode<'__de> for CalleeUse
impl Encode for CalleeUse
Auto Trait Implementations§
impl Freeze for CalleeUse
impl RefUnwindSafe for CalleeUse
impl Send for CalleeUse
impl Sync for CalleeUse
impl Unpin for CalleeUse
impl UnsafeUnpin for CalleeUse
impl UnwindSafe for CalleeUse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more