Skip to main content

Create

Trait Create 

Source
pub trait Create<C, G>: Source<C>
where Self::Backend: Buffer,
{ type Receive; type Error; // Required method unsafe fn try_new( config: &G, ) -> Result<(<Self as Source<C>>::Backend, <<Self as Source<C>>::Backend as Buffer>::Context, <Self as Create<C, G>>::Receive), Self::Error>; }
Expand description

Creates the native runtime and its external receive owners in backend order.

Required Associated Types§

Required Methods§

Source

unsafe fn try_new( config: &G, ) -> Result<(<Self as Source<C>>::Backend, <<Self as Source<C>>::Backend as Buffer>::Context, <Self as Create<C, G>>::Receive), Self::Error>

§Safety

Retain the returned buffer context alongside the backend until native quiescence and destruction, including every returned partial cleanup owner.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§