[][src]Trait frame_support::traits::TryDrop

pub trait TryDrop: Sized {
    pub fn try_drop(self) -> Result<(), Self>;
}

A type for which some values make sense to be able to drop without further consideration.

Required methods

pub fn try_drop(self) -> Result<(), Self>[src]

Drop an instance cleanly. Only works if its value represents "no-operation".

Loading content...

Implementors

Loading content...