Skip to main content

Create

Trait Create 

Source
pub trait Create: Plan {
    type Error;

    // Required method
    fn try_build<'p, 'd>(
        self,
        ctx: Context<'_, 'd>,
    ) -> Result<Self::Output<'p, 'd>, Self::Error>
       where Self: 'd,
             'd: 'p;
}
Expand description

Constructs driver-domain storage that owns all of its backing.

Required Associated Types§

Required Methods§

Source

fn try_build<'p, 'd>( self, ctx: Context<'_, 'd>, ) -> Result<Self::Output<'p, 'd>, Self::Error>
where Self: 'd, 'd: 'p,

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 Create for ()

Source§

type Error = !

Source§

fn try_build<'p, 'd>( self, _: Context<'_, 'd>, ) -> Result<Self::Output<'p, 'd>, Self::Error>
where Self: 'd, 'd: 'p,

Implementors§

Source§

impl<T> Create for Value<T>