/
germanubis
/
sqlx
ΠΠ±Π·ΠΎΡ
ΠΠΎΠΊΡΠΌΠ΅Π½ΡΠ°ΡΠΈΡ
ΠΠΎΠΉΡΠΈ
/
germanubis
/
sqlx
ΠΠΎΠ΄
ΠΠ°ΠΏΡΠΎΡΡ
0
ΠΠ°Π΄Π°ΡΠΈ
ΠΠΈΠΊΠΈ
ΠΠ°ΠΊΠ΅ΡΡ
0
Π Π΅Π»ΠΈΠ·Ρ
0
ΠΠ½Π°Π»ΠΈΡΠΈΠΊΠ°
ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ
v0.7.1
sqlx-postgres/src/message/flush.rs
17 ΡΡΡΠΎΠΊ
533 B
Austin Bonander
Break drivers out into separate crates, clean up some technical debt (#2039)
22 ΡΠ΅Π² 2023, 00:25
22 ΡΠ΅Π² 2023, 00:25
b5312c3
ΠΠΎΠ΄
ΠΠ²ΡΠΎΡΡΡΠ²ΠΎ
Π ΡΡΠΌ ΠΊΠΎΠ΄?
use crate::io::Encode; // The Flush message does not cause any specific output to be generated, // but forces the backend to deliver any data pending in its output buffers. // A Flush must be sent after any extended-query command except Sync, if the // frontend wishes to examine the results of that command before issuing more commands. #[derive(Debug)] pub struct Flush; impl Encode<'_> for Flush { fn encode_with(&self, buf: &mut Vec<u8>, _: ()) { buf.push(b'H'); buf.extend(&4_i32.to_be_bytes()); } }