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
sourceimpl 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
sourceimpl Debug for CompileProvidersConfig
impl Debug for CompileProvidersConfig
sourceimpl Default for CompileProvidersConfig
impl Default for CompileProvidersConfig
sourcefn default() -> CompileProvidersConfig
fn default() -> CompileProvidersConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CompileProvidersConfig
impl<'de> Deserialize<'de> for CompileProvidersConfig
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for CompileProvidersConfig
impl Send for CompileProvidersConfig
impl Sync for CompileProvidersConfig
impl Unpin for CompileProvidersConfig
impl UnwindSafe for CompileProvidersConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more