Function quad_wasmnastics::storage::save_to [−][src]
pub fn save_to<T: AsRef<[u8]>>(data: T, location: &Location) -> Result<()>
Expand description
Save some data to the given location.
If this returns Err
it’s not guaranteed that we made no edits
to the filesystem or localstorage.