Module state

Module state 

Source
Expand description

Sans-I/O state machines for PostgreSQL protocol.

These state machines handle the protocol logic without performing any I/O. They produce Action values that tell the caller what to do next.

Re-exports§

pub use action::Action;
pub use action::AsyncMessage;
pub use connection::ConnectionStateMachine;
pub use extended::ExtendedQueryStateMachine;
pub use simple_query::SimpleQueryStateMachine;

Modules§

action
Action types for state machine I/O requests.
connection
Connection startup and authentication state machine.
extended
Extended query protocol state machine.
simple_query
Simple query protocol state machine.

Traits§

StateMachine
Trait for state machines that can be driven by a connection.