pub struct Writer<'a> { /* private fields */ }
Expand description

A writer of Chunks to an ODBC [api::Prepared] statement.

Implementation

This struct mixes CPU-bounded and IO-bounded tasks and is not ideal for an async context.

Implementations

Creates a new Writer.

Errors

Errors iff any of the types from Field is not supported.

Writes a chunk to the writer.

Errors

Errors iff the execution of the statement fails.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.