Skip to main content

StorageExt

Trait StorageExt 

Source
pub trait StorageExt: Send + Sync {
    // Required method
    fn create(self) -> (*const u8, usize, &'static StorageVTable);
}
Expand description

Types that could be used as external storage for Bytes

Required Methods§

Source

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl StorageExt for Arc<str>

Source§

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

Implementors§