pub struct TelemetryExtension;Expand description
Telemetry/tracing extension
Trait Implementations§
Source§impl Extension for TelemetryExtension
impl Extension for TelemetryExtension
Source§fn transform(&self, value: ExtensionValue) -> Result<ExtensionValue, String>
fn transform(&self, value: ExtensionValue) -> Result<ExtensionValue, String>
Transform extension value (optional)
Source§fn is_compatible(&self, _version: ProtocolVersion) -> bool
fn is_compatible(&self, _version: ProtocolVersion) -> bool
Check if extension is compatible with protocol version
Auto Trait Implementations§
impl Freeze for TelemetryExtension
impl RefUnwindSafe for TelemetryExtension
impl Send for TelemetryExtension
impl Sync for TelemetryExtension
impl Unpin for TelemetryExtension
impl UnwindSafe for TelemetryExtension
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