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

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

An inventory item interface.

Required methods

pub fn teardown(&mut self, _token: &mut GuardToken<Self>)[src]

Sets the inactive state. Called by Guard on drop.

Loading content...

Implementors

Loading content...