pub fn with_drop<T>(self, to_drop: T) -> TraceBundle
    where
        T: 'static,
    {
        TraceBundle {
            to_drop: Some(Rc::new(Box::new(to_drop))),
            ..self
        }
    }
/// Adds tokens to be dropped when the trace bundle is dropped.
Adds tokens to be dropped when the trace bundle is dropped.
Adds tokens to be dropped when the trace bundle is dropped .
pub fn with_drop<T>(self, to_drop: T) -> TraceBundle
    where
        T: 'static,
    {
        TraceBundle {
            to_drop: Some(Rc::new(Box::new(to_drop))),
            ..self
        }
    }
pub fn with_drop < T > ( self , to_drop : T ) -> TraceBundle where T : ' static , { TraceBundle { to_drop : Some ( Rc :: new ( Box :: new ( to_drop ) ) ) , .. self } }
Adds tokens to be dropped when the trace bundle is dropped.
Adds tokens to be dropped when the trace bundle is dropped .
self
to_drop
T
self
to_drop
T