Skip to main content

StorageExtStr

Trait StorageExtStr 

Source
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§

Source

fn create(self) -> (*const u8, usize, &'static StorageVTable)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl StorageExtStr for Arc<str>

Implementors§