Trait TrackingInto

Source
pub trait TrackingInto<T, S>
where Self: Sized, S: TrackingStatus + Default,
{ // Required method fn tracking_into(self, status: &mut S, parent: &str) -> T; }
Expand description

A value-to-value conversion that consumes the input value while tracking changes via a Kubernetes status. The opposite of TrackingFrom.

One should avoid implementing TrackingInto as it is automatically implemented via a blanket implementation.

Required Methods§

Source

fn tracking_into(self, status: &mut S, parent: &str) -> T

Convert Self into T.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, U, S> TrackingInto<U, S> for T
where S: TrackingStatus + Default, U: TrackingFrom<T, S>,