Skip to main content

DynInstruments

Struct DynInstruments 

Source
pub struct DynInstruments<'dynosaur_struct> { /* private fields */ }
Expand description

Dyn-compatible wrapper for Instruments.

Implementations§

Source§

impl<'dynosaur_struct> DynInstruments<'dynosaur_struct>

Source

pub fn new_box( value: impl Instruments + 'dynosaur_struct, ) -> _Box<DynInstruments<'dynosaur_struct>>

Create Box<DynInstruments> from a value implementing Instruments.

Source

pub fn new_arc( value: impl Instruments + 'dynosaur_struct, ) -> _Arc<DynInstruments<'dynosaur_struct>> ⓘ

Create Arc<DynInstruments> from a value implementing Instruments.

Source

pub fn new_rc( value: impl Instruments + 'dynosaur_struct, ) -> _Rc<DynInstruments<'dynosaur_struct>>

Create Rc<DynInstruments> from a value implementing Instruments.

Source

pub const fn from_box( value: _Box<impl Instruments + 'dynosaur_struct>, ) -> _Box<DynInstruments<'dynosaur_struct>>

Convert Box<impl Instruments> to Box<DynInstruments>.

Source

pub const fn from_arc( value: _Arc<impl Instruments + 'dynosaur_struct>, ) -> _Arc<DynInstruments<'dynosaur_struct>> ⓘ

Convert Arc<impl Instruments> to Arc<DynInstruments>.

Source

pub const fn from_rc( value: _Rc<impl Instruments + 'dynosaur_struct>, ) -> _Rc<DynInstruments<'dynosaur_struct>>

Convert Rc<impl Instruments> to Rc<DynInstruments>.

Source

pub const fn from_ref( value: &(impl Instruments + 'dynosaur_struct), ) -> &DynInstruments<'dynosaur_struct>

Convert &impl Instruments to &DynInstruments.

Source

pub const fn from_mut( value: &mut (impl Instruments + 'dynosaur_struct), ) -> &mut DynInstruments<'dynosaur_struct>

Convert &mut impl Instruments to &mut DynInstruments.

Trait Implementations§

Source§

impl<'dynosaur_struct> Instruments for DynInstruments<'dynosaur_struct>

Source§

fn instruments( &self, ) -> impl Future<Output = Result<Vec<Instrument>, ClassifiedError>> + Send

Every instrument the product lists.

Auto Trait Implementations§

§

impl<'dynosaur_struct> !Freeze for DynInstruments<'dynosaur_struct>

§

impl<'dynosaur_struct> !RefUnwindSafe for DynInstruments<'dynosaur_struct>

§

impl<'dynosaur_struct> !Sized for DynInstruments<'dynosaur_struct>

§

impl<'dynosaur_struct> !Unpin for DynInstruments<'dynosaur_struct>

§

impl<'dynosaur_struct> !UnsafeUnpin for DynInstruments<'dynosaur_struct>

§

impl<'dynosaur_struct> !UnwindSafe for DynInstruments<'dynosaur_struct>

§

impl<'dynosaur_struct> Send for DynInstruments<'dynosaur_struct>

§

impl<'dynosaur_struct> Sync for DynInstruments<'dynosaur_struct>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more