Function frame_support::storage::hashed::take [−][src]
pub fn take<T, HashFn, R>(hash: &HashFn, key: &[u8]) -> Option<T> where
T: Decode + Sized,
HashFn: Fn(&[u8]) -> R,
R: AsRef<[u8]>,
Remove key
from storage, returning its value if it had an explicit entry or None
otherwise.