Skip to main content

Create

Trait Create 

Source
pub trait Create: Sized {
    // Required method
    fn try_new(capacity: NonZero<u32>) -> Result<Self, Error>;
}
Expand description

Allocates the actual address-stable option owner before kernel registration.

Required Methods§

Source

fn try_new(capacity: NonZero<u32>) -> Result<Self, Error>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§