pub struct GoCanonicalizer;Trait Implementations§
Source§impl Canonicalizer for GoCanonicalizer
impl Canonicalizer for GoCanonicalizer
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 GoCanonicalizer
impl RefUnwindSafe for GoCanonicalizer
impl Send for GoCanonicalizer
impl Sync for GoCanonicalizer
impl Unpin for GoCanonicalizer
impl UnsafeUnpin for GoCanonicalizer
impl UnwindSafe for GoCanonicalizer
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