pub struct CollectHandler<T> { /* private fields */ }Expand description
Implementations§
Source§impl<T> CollectHandler<T>
impl<T> CollectHandler<T>
Trait Implementations§
Source§impl<T: Default> Default for CollectHandler<T>
impl<T: Default> Default for CollectHandler<T>
Source§fn default() -> CollectHandler<T>
fn default() -> CollectHandler<T>
Returns the “default value” for a type. Read more
Source§impl<T: for<'a> FromRow<'a>> ExtendedHandler for CollectHandler<T>
impl<T: for<'a> FromRow<'a>> ExtendedHandler for CollectHandler<T>
Source§fn row(&mut self, cols: RowDescription<'_>, row: DataRow<'_>) -> Result<()>
fn row(&mut self, cols: RowDescription<'_>, row: DataRow<'_>) -> Result<()>
Called for each data row.
Source§fn result_start(&mut self, cols: RowDescription<'_>) -> Result<()>
fn result_start(&mut self, cols: RowDescription<'_>) -> Result<()>
Called when a result set begins.
Source§fn result_end(&mut self, complete: CommandComplete<'_>) -> Result<()>
fn result_end(&mut self, complete: CommandComplete<'_>) -> Result<()>
Called when a result set ends.
Source§impl<T: for<'a> FromRow<'a>> SimpleHandler for CollectHandler<T>
impl<T: for<'a> FromRow<'a>> SimpleHandler for CollectHandler<T>
Source§fn row(&mut self, cols: RowDescription<'_>, row: DataRow<'_>) -> Result<()>
fn row(&mut self, cols: RowDescription<'_>, row: DataRow<'_>) -> Result<()>
Called for each data row.
Source§fn result_start(&mut self, cols: RowDescription<'_>) -> Result<()>
fn result_start(&mut self, cols: RowDescription<'_>) -> Result<()>
Called when a result set begins.
Source§fn result_end(&mut self, complete: CommandComplete<'_>) -> Result<()>
fn result_end(&mut self, complete: CommandComplete<'_>) -> Result<()>
Called when a result set ends.
Auto Trait Implementations§
impl<T> Freeze for CollectHandler<T>
impl<T> RefUnwindSafe for CollectHandler<T>where
T: RefUnwindSafe,
impl<T> Send for CollectHandler<T>where
T: Send,
impl<T> Sync for CollectHandler<T>where
T: Sync,
impl<T> Unpin for CollectHandler<T>where
T: Unpin,
impl<T> UnwindSafe for CollectHandler<T>where
T: UnwindSafe,
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