Struct usdt_impl::CompileProvidersConfig
source · pub struct CompileProvidersConfig {
pub provider: Option<String>,
pub probe_format: Option<String>,
pub module: Option<String>,
}Fields§
§provider: Option<String>§probe_format: Option<String>§module: Option<String>Implementations§
source§impl CompileProvidersConfig
impl CompileProvidersConfig
sourcepub fn format_probe(&self, probe_name: &str) -> String
pub fn format_probe(&self, probe_name: &str) -> String
Return the formatted name of a probe.
sourcepub fn probe_ident(&self, probe_name: &str) -> Ident
pub fn probe_ident(&self, probe_name: &str) -> Ident
Return the formatted name of the probe as an identifier.
sourcepub fn module_ident(&self) -> Ident
pub fn module_ident(&self) -> Ident
Return the formatted module name as an identifier.
Trait Implementations§
source§impl Debug for CompileProvidersConfig
impl Debug for CompileProvidersConfig
source§impl Default for CompileProvidersConfig
impl Default for CompileProvidersConfig
source§fn default() -> CompileProvidersConfig
fn default() -> CompileProvidersConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompileProvidersConfig
impl<'de> Deserialize<'de> for CompileProvidersConfig
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