Function pallet_roles::storage::hashed::take

pub fn take<T, HashFn, R>(hash: &HashFn, key: &[u8]) -> Option<T>where
    T: Decode,
    HashFn: Fn(&[u8]) -> R,
    R: AsRef<[u8]>,
Expand description

Remove key from storage, returning its value if it had an explicit entry or None otherwise.