[−][src]Function postgres_protocol::types::range_to_sql
pub fn range_to_sql<F, G>(
lower: F,
upper: G,
buf: &mut BytesMut
) -> Result<(), StdBox<dyn Error + Sync + Send>> where
F: FnOnce(&mut BytesMut) -> Result<RangeBound<IsNull>, StdBox<dyn Error + Sync + Send>>,
G: FnOnce(&mut BytesMut) -> Result<RangeBound<IsNull>, StdBox<dyn Error + Sync + Send>>,
Serializes a range value.