Skip to main content

InsertNested

Trait InsertNested 

Source
pub trait InsertNested<M>
where M: InsertModel,
{ // Required method fn execute<'a, A>( self, parent: &'a M, client: &'a DinocoClient<A>, ) -> Pin<Box<dyn Future<Output = DinocoResult<()>> + Send + 'a>> where A: DinocoAdapter; }

Required Methods§

Source

fn execute<'a, A>( self, parent: &'a M, client: &'a DinocoClient<A>, ) -> Pin<Box<dyn Future<Output = DinocoResult<()>> + Send + 'a>>
where A: DinocoAdapter,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<M> InsertNested<M> for ()
where M: InsertModel,

Source§

fn execute<'a, A>( self, _parent: &'a M, _client: &'a DinocoClient<A>, ) -> Pin<Box<dyn Future<Output = DinocoResult<()>> + Send + 'a>>
where A: DinocoAdapter,

Implementors§