pub enum PythonRuntimeWriteTarget {
Container,
Key,
ContainerEscape,
ModuleEscape,
}Expand description
Why one occurrence of the reviewed path is not a plain keyed read.
Variants§
Container
The container itself is assigned or deleted (sys.argv = [...]).
Key
One key of the container is assigned or deleted.
ContainerEscape
The container value reaches a position this pass cannot follow: a method receiver, a call argument, an alias, or a return.
ModuleEscape
The module object itself reaches such a position, so an unseen writer can replace any of its attributes.
Trait Implementations§
Source§impl Clone for PythonRuntimeWriteTarget
impl Clone for PythonRuntimeWriteTarget
impl Copy for PythonRuntimeWriteTarget
Source§impl Debug for PythonRuntimeWriteTarget
impl Debug for PythonRuntimeWriteTarget
impl Eq for PythonRuntimeWriteTarget
Source§impl PartialEq for PythonRuntimeWriteTarget
impl PartialEq for PythonRuntimeWriteTarget
impl StructuralPartialEq for PythonRuntimeWriteTarget
Auto Trait Implementations§
impl Freeze for PythonRuntimeWriteTarget
impl RefUnwindSafe for PythonRuntimeWriteTarget
impl Send for PythonRuntimeWriteTarget
impl Sync for PythonRuntimeWriteTarget
impl Unpin for PythonRuntimeWriteTarget
impl UnsafeUnpin for PythonRuntimeWriteTarget
impl UnwindSafe for PythonRuntimeWriteTarget
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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