pub fn remove<T>(key: &str) -> Option<T> where for<'de> T: serde::Deserialize<'de> {
    let value = read(key);
    unsafe { external::remove_from_state(key.as_ptr(), key.len() as u32) }
    value
}
/// Remove key and value from state
Remove key and value from state
Remove key and value from state
pub fn remove<T>(key: &str) -> Option<T> where for<'de> T: serde::Deserialize<'de> {
    let value = read(key);
    unsafe { external::remove_from_state(key.as_ptr(), key.len() as u32) }
    value
}
pub fn remove < T > ( key : & str ) -> Option < T > where for < ' de > T : serde :: Deserialize < ' de > { let value = read ( key ) ; unsafe { external :: remove_from_state ( key . as_ptr ( ) , key . len ( ) as u32 ) } value }
Remove key and value from state
Remove key and value from state
key
&str
key
&str