pub trait Build: Plan {
type Error;
type Store<'d>
where Self: 'd;
// Required methods
fn try_store<'d>(&self) -> Result<Self::Store<'d>, Self::Error>
where Self: 'd;
fn try_build<'p, 'd>(
self,
store: &'p mut Self::Store<'d>,
ctx: Context<'_, 'd>,
) -> Result<Self::Output<'p, 'd>, Self::Error>
where Self: 'd,
'd: 'p;
}Expand description
Fallibly constructs driver-domain storage through the non-submitting Context.
Required Associated Types§
Required Methods§
fn try_store<'d>(&self) -> Result<Self::Store<'d>, Self::Error>where
Self: 'd,
fn try_build<'p, 'd>(
self,
store: &'p mut Self::Store<'d>,
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".