Crate rsfbclient_rust

Source
Expand description

Firebird client implementation in pure rust

Structs§

AuthPlugin
ConnectionResponse
Data from the response of a connection request
DbHandle
A database handle
ParamsBlr
Data for the parameters to send in the wire
PrepareInfo
Data returned for a prepare statement
Response
WireOp::Response response
RustFbClient
Firebird client implemented in pure rust
RustFbClientAttachmentConfig
Required configuration for an attachment with the pure rust client
SrpAuthData
StmtHandle
A statement handle
TrHandle
A transaction handle
XSqlVar
Sql query column information

Enums§

ParsedColumn
Column data parsed from a fetch response

Constants§

BUFFER_LENGTH
Buffer length to use in the connection
MAX_DATA_LENGTH
Maximum parameter data length
XSQLDA_DESCRIBE_VARS
Data to return about a statement

Functions§

allocate_statement
Statement allocation request (lazy response)
attach
Attach request
close_blob
Close blob segment request
connect
Connection request
cont_auth
Continue authentication request
create
Create db request
create_blob
Create blob request
crypt
Wire encryption request
detach
Detach from the database request
drop_database
Drop database request
exec_immediate
Execute immediate request
execute
Execute prepared statement request.
execute2
Execute prepared statement request.
fetch
Fetch row request
free_statement
Close or drop statement request
get_segment
Get blob segment request
info_sql
Statement information request
open_blob
Open blob request
params_to_blr
Convert the parameters to a blr (binary representation)
parse_accept
Parse the connect response response (WireOp::Accept, WireOp::AcceptData, WireOp::CondAccept )
parse_cont_auth
Parse an authentication continuation response (WireOp::ContAuth)
parse_fetch_response
Parse a server sql response (WireOp::FetchResponse)
parse_info_sql_affected_rows
Parse the result of an InfoSql requesting affected rows data
parse_response
Parse a server response (WireOp::Response)
parse_select_items
Fill the xsqlda with data from the cursor, return true if the data was truncated (needs more data to fill the xsqlda)
parse_sql_response
Parse a server sql response (WireOp::SqlResponse) Identical to the FetchResponse, but has no status
parse_srp_auth_data
Parse the auth data from the Srp / Srp256 plugin
parse_status_vector
Parses the error messages from the response
parse_xsqlda
Parses the data from the PrepareStatement response.
prepare_statement
Prepare statement request. Use u32::MAX as stmt_handle if the statement was allocated in the previous request
put_segment
Put blob segment request
transaction
Begin transaction request
transaction_operation
Commit / Rollback transaction request
xsqlda_to_blr
Convert the xsqlda to blr (binary representation)