pub struct Target<'sql> { /* private fields */ }Implementations§
Source§impl<'sql> Target<'sql>
impl<'sql> Target<'sql>
Sourcepub fn commands(self, sql: &'sql [&'sql str]) -> Result<Self, Error>
pub fn commands(self, sql: &'sql [&'sql str]) -> Result<Self, Error>
Runs parameterless, columnless commands before catalog preparation. Each runs in autocommit mode; later failure preserves earlier changes. Attaching validates only SQL text and does not open the database.
pub fn plan<I: Catalog>( self, limits: Limits, memory: Memory, ) -> Result<Plan<Layout<'sql, I>, Plan<I>>, Error>
Auto Trait Implementations§
impl<'sql> Freeze for Target<'sql>
impl<'sql> RefUnwindSafe for Target<'sql>
impl<'sql> Send for Target<'sql>
impl<'sql> Sync for Target<'sql>
impl<'sql> Unpin for Target<'sql>
impl<'sql> UnsafeUnpin for Target<'sql>
impl<'sql> UnwindSafe for Target<'sql>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more