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

Parameter type which can be used to bind a self::Blob as parameter to a statement in order for its contents to be streamed to the database at statement execution time.

Implementations

Trait Implementations

Then streaming data to the “data source” the driver converts the data from this type.

Either odbc_sys::DATA_AT_EXEC in case of streaming from a stream of unknown length (e.g. stdin) or the result of odbc_sys::len_data_at_exec if the length of the stream is known in advance (e.g. a File). Read more

Pointer to reference of crate::parameter::Blob the stream or an application defined value identifying the stream. Read more

The SQL data as which the parameter is bound to ODBC.

Bind the parameter in question to a specific parameter_number. Read more

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.