Enum coord::command::Command [−][src]
pub enum Command {
Startup {
session: Session,
cancel_tx: Arc<Sender<Canceled>>,
tx: Sender<Response<StartupResponse>>,
},
Declare {
name: String,
stmt: Statement<Raw>,
param_types: Vec<Option<Type>>,
session: Session,
tx: Sender<Response<()>>,
},
Describe {
name: String,
stmt: Option<Statement<Raw>>,
param_types: Vec<Option<Type>>,
session: Session,
tx: Sender<Response<()>>,
},
VerifyPreparedStatement {
name: String,
session: Session,
tx: Sender<Response<()>>,
},
Execute {
portal_name: String,
session: Session,
tx: Sender<Response<ExecuteResponse>>,
},
StartTransaction {
implicit: Option<usize>,
session: Session,
tx: Sender<Response<()>>,
},
Commit {
action: EndTransactionAction,
session: Session,
tx: Sender<Response<ExecuteResponse>>,
},
CancelRequest {
conn_id: u32,
secret_key: u32,
},
DumpCatalog {
session: Session,
tx: Sender<Response<String>>,
},
CopyRows {
id: GlobalId,
columns: Vec<usize>,
rows: Vec<Row>,
session: Session,
tx: Sender<Response<ExecuteResponse>>,
},
Terminate {
session: Session,
},
}
Variants
Startup
Declare
Describe
VerifyPreparedStatement
Execute
StartTransaction
Commit
CancelRequest
DumpCatalog
CopyRows
Terminate
Fields
session: Session
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Command
impl !UnwindSafe for Command
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more