Skip to main content

Create

Trait Create 

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

Allocates registration storage for a backend with receive permits.

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§