pub struct TracingOtelConfig { /* private fields */ }Implementations§
Source§impl TracingOtelConfig
impl TracingOtelConfig
pub fn new( collector_url: String, collector_auth_header: Option<SecretString>, ) -> Self
pub fn collector_url(&self) -> &str
Trait Implementations§
Source§impl Clone for TracingOtelConfig
impl Clone for TracingOtelConfig
Source§fn clone(&self) -> TracingOtelConfig
fn clone(&self) -> TracingOtelConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TracingOtelConfig
impl Debug for TracingOtelConfig
Source§impl<'de> Deserialize<'de> for TracingOtelConfig
impl<'de> Deserialize<'de> for TracingOtelConfig
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
Auto Trait Implementations§
impl Freeze for TracingOtelConfig
impl RefUnwindSafe for TracingOtelConfig
impl Send for TracingOtelConfig
impl Sync for TracingOtelConfig
impl Unpin for TracingOtelConfig
impl UnsafeUnpin for TracingOtelConfig
impl UnwindSafe for TracingOtelConfig
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