pub struct PythonCanonicalizer;Trait Implementations§
Source§impl Canonicalizer for PythonCanonicalizer
impl Canonicalizer for PythonCanonicalizer
fn lang(&self) -> &'static str
Source§fn canonicalize(&self, raw: &str) -> CanonicalSymbol
fn canonicalize(&self, raw: &str) -> CanonicalSymbol
Convert a raw (possibly mangled) symbol name into a canonical form.
Source§fn canonicalize_structured(
&self,
module: &str,
class: &str,
method: &str,
_sig: &str,
) -> CanonicalSymbol
fn canonicalize_structured( &self, module: &str, class: &str, method: &str, _sig: &str, ) -> CanonicalSymbol
Convert a structured symbol emitted by the tool (e.g., dotnet-trace
yields separate module/class/method/sig). Default: join with
.
and fall through to canonicalize. Adapters override when they can
do something smarter than the default join.Auto Trait Implementations§
impl Freeze for PythonCanonicalizer
impl RefUnwindSafe for PythonCanonicalizer
impl Send for PythonCanonicalizer
impl Sync for PythonCanonicalizer
impl Unpin for PythonCanonicalizer
impl UnsafeUnpin for PythonCanonicalizer
impl UnwindSafe for PythonCanonicalizer
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> 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