pub unsafe trait StorageExtStr: StorageExt + Sized {
// Provided method
fn create(self) -> (*const u8, usize, &'static StorageVTable) { ... }
}Expand description
External storage that holds valid UTF-8, see ByteString::from_ext.
§Safety
The data exposed through the vtable must be valid UTF-8.
Provided Methods§
Sourcefn create(self) -> (*const u8, usize, &'static StorageVTable)
fn create(self) -> (*const u8, usize, &'static StorageVTable)
Same as StorageExt::create.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".