[][src]Trait drone_core::inventory::Item

pub trait Item: Sized {
    fn teardown(&mut self, _token: &mut GuardToken<Self>);
}

An inventory item interface.

Required methods

fn teardown(&mut self, _token: &mut GuardToken<Self>)

Sets the inactive state. Called by Guard on drop.

Loading content...

Implementors

Loading content...