Skip to main content

DynamicLseInstrument

Trait DynamicLseInstrument 

Source
pub trait DynamicLseInstrument: LseInstrument { }
Expand description

Requires LseInstrument when the lse feature is enabled, and nothing otherwise.

A where-clause bound cannot be cfg-gated on stable Rust, but a supertrait of a trait declared twice can: this is how DynamicInstrument requires London Strategic Edge support only in builds that have it.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Instrument> DynamicLseInstrument for Instrument
where Instrument: LseInstrument,

Available on crate feature lse only.