pub struct DropHandler { /* private fields */ }Expand description
A handler that discards all results.
Implementations§
Source§impl DropHandler
impl DropHandler
Trait Implementations§
Source§impl BinaryHandler for DropHandler
impl BinaryHandler for DropHandler
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_end(&mut self, complete: CommandComplete<'_>) -> Result<()>
fn result_end(&mut self, complete: CommandComplete<'_>) -> Result<()>
Called when a result set ends.
Source§fn result_start(&mut self, cols: RowDescription<'_>) -> Result<()>
fn result_start(&mut self, cols: RowDescription<'_>) -> Result<()>
Called when a result set begins.
Source§impl Debug for DropHandler
impl Debug for DropHandler
Source§impl Default for DropHandler
impl Default for DropHandler
Source§fn default() -> DropHandler
fn default() -> DropHandler
Returns the “default value” for a type. Read more
Source§impl TextHandler for DropHandler
impl TextHandler for DropHandler
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_end(&mut self, complete: CommandComplete<'_>) -> Result<()>
fn result_end(&mut self, complete: CommandComplete<'_>) -> Result<()>
Called when a result set ends.
Source§fn result_start(&mut self, cols: RowDescription<'_>) -> Result<()>
fn result_start(&mut self, cols: RowDescription<'_>) -> Result<()>
Called when a result set begins.
Auto Trait Implementations§
impl Freeze for DropHandler
impl RefUnwindSafe for DropHandler
impl Send for DropHandler
impl Sync for DropHandler
impl Unpin for DropHandler
impl UnwindSafe for DropHandler
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